Sahih Bukhari

Hadith #1952

Narrated `Aisha:Allah's Messenger (ﷺ) said, ""Whoever died and he ought to have fasted (the missed days of Ramadan) then his guardians must fast on his behalf