Sahih Muslim Book 6, Hadith Number 2553.
Chapter : Completing of the fast on behalf of the dead.
‘Aisha (Allah be pleased with her) reported Allah’s Messenger (may peace be upon him) as saying: If anyone dies in a state (that he had to complete) some fasts, his heir must fast on his behalf.