(4) باب فِي سَعَةِ رَحْمَةِ اللَّهِ تَعَالَى وَأَنَّهَا سَبَقَتْ غَضَبَهُ
Abu Huraira reported Allah's Messenger (ﷺ) as saying that a servant transgressed the litnit in committing sins. The rest of the hadith is the same but there is no mention of the story of the cat in it and in the hadith transmitted on the authority of Ziibaidl (the words are):
" Allah, the Exalted and Glorious, said to everything which had taken a part of lies ashes to return what it had taken."
Reference: Sahih Muslim 2756 c
In-book reference: Book 50, Hadith 30
USC-MSA web (English) reference(deprecated numbering scheme): Book 37, Hadith 6639