Bulugh al-Maram
Book 5, Hadith 30
وَعَنْ عَائِشَةَ رَضِيَ اَللَّهُ عَنْهَا; أَنَّ رَسُولَ اَللَّهِ - صلى الله عليه وسلم -قَالَ: { مَنْ مَاتَ وَعَلَيْهِ صِيَامٌ صَامَ عَنْهُ وَلِيُّهُ } مُتَّفَقٌ عَلَيْهِ 1 .1 - صحيح. رواه البخاري ( 1952 ) ومسلم ( 1147 ). " تنبيه ": الصوم الذي في هذا الحديث هو صوم النذر فقط، كما كنت بينت ذلك في كتابي " الإلمام بآداب وأحكام الصيام " الطبعة الأولى ص ( 65 - 66 ).
Aisha reported that the Messenger of Allah said: “Whoever dies while owing a fast, his guardian should fast on his behalf.” The hadith is agreed upon by al-Bukhari and Muslim.
The editor grades it authentic and cites al-Bukhari 1952 and Muslim 1147. He notes that the fast referred to in this hadith is specifically a vow fast, as he explained in al-Ilmam bi-Adab wa-Ahkam al-Siyam, first edition, pp. 65–66.