Sahih Muslim Book 10, Hadith Number 3788.

Chapter : Command of killing dogs and then its abrogation, and prohibition of keeping them but for hunting and protection of lands or cattle or like that.

Hudhaifa reported Allah’s Messenger (may peace be upon him) as saying The angels took away the soul of a person who had lived among people who were before you. They (the angels) said: Did you do anything good? He said: No. they said: Try to recall. He said: I used to lend to people and order my servants to give respite to one in straitened circumstances and give allowance to the solvent, for Allah, the Exalted and Majestic, said (to the angels): You should ignore (his failing).