Acts 5 places the story of
Ananias and Sapphira immediately after descriptions of voluntary generosity in the early Jerusalem church. The couple sold a piece of property and, with mutual knowledge, kept back part of the price while Ananias presented the remainder to the apostles as though it represented the full proceeds.
Peter emphasized that the property had remained theirs and that the sin was not failure to surrender every coin but deliberate deception: Ananias had lied to the Holy Spirit and to God. Ananias fell down and died. About three hours later Sapphira arrived without knowing what had happened. Peter gave her an opportunity to state the sale price; she repeated the deception and likewise died. The result was great fear throughout the church and among all who heard of the events.