(4) باب فِي سَعَةِ رَحْمَةِ اللَّهِ تَعَالَى وَأَنَّهَا سَبَقَتْ غَضَبَهُ
Abu Huraira reported Allah's Messenger (ﷺ) as saying that a person committed sin beyond measure and when he was going to die, he left this will:
(When I die), bum my dead body and then cast them (the ashes) to the wind and in the ocean. By Allah, if my Lord takes hold of me, He would torment me as He has not tormented anyone else. They did as he had asked them to do. He (the Lord) said to the earth: Return what you have taken. And he was thus restored to his (original form). He (Allah) said to him: What prompted you to do this? He said: My Lord, it was Thine fear or Thine awe, and Allah pardoned him because of this. Abu Huraira reported Allah's Messenger (ﷺ) as saying that a woman was thrown into Hell-Fire because of a cat whom she had tied and did not provide it with food. nor did she set it free to cat insects of the euth until it died inch by inch. Zuhri said: (These two ahidith) show that a person rhould neither feel confident (of getting into Paradise) because of his deeds, nor should he lose (all hopes) of getting into Paradise.
Reference: Sahih Muslim 2756 b, 2619 b
In-book reference: Book 50, Hadith 29
USC-MSA web (English) reference(deprecated numbering scheme): Book 37, Hadith 6638