(27) باب قَضَاءِ الصِّيَامِ عَنِ الْمَيِّتِ
'A'isha (Allah be pleased with her) reported Allah's Messenger (ﷺ) as saying:
If anyone dies in a state (that he had to complete) some fasts, his heir must fast on his behalf.
Reference: Sahih Muslim 1147
In-book reference: Book 13, Hadith 198
USC-MSA web (English) reference(deprecated numbering scheme): Book 6, Hadith 2553
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.