(27) باب قَضَاءِ الصِّيَامِ عَنِ الْمَيِّتِ
Ibn 'Abbas (Allah be pleased with both of them) reported:
A woman came to the Messenger of Allah (ﷺ) and said: My mother has died, and fasts of a month are due from her. Thereupon he said: Don't you see that if debt was due from her, would you not pay it? She said: Yes (I would pay on her behalf). Thereupon he said: The debt of Allah deserves its payment more than (the payment of anyone else).
Reference: Sahih Muslim 1148 a
In-book reference: Book 13, Hadith 199
USC-MSA web (English) reference(deprecated numbering scheme): Book 6, Hadith 2554