Acts 5:7 Now it was about three hours later when his wife came in, not knowing what had happened. And Peter answered her, “Tell me whether you sold the land for so much?”

She said, “Yes, for so much.”

Then Peter said to her, “How is it that you have agreed together to test the Spirit of the Lord? Look, the feet of those who have buried your husband are at the door, and they will carry you out.” 10 Then immediately she fell down at his feet and breathed her last. And the young men came in and found her dead, and carrying her out, buried her by her husband. 11 So great fear came upon all the church and upon all who heard these things.

Ananias and Sapphira both died, but it doesn’t necessarily mean that they did not go to heaven. It is impossible to say for certain, for only God knows. But we can see that it is possible for a Christian to sin unto death (1 John 5:16-17), and we have New Testament examples of saved Christians being judged by being “brought home” in death (1 Corinthians 11:27-32). “True Christians do not lose their salvation by sinning. The punishment of Ananias and Sapphira, though extreme, was for this life only.”