(12) باب مَا جَاءَ فِي الرَّجُلِ يَهَبُ ثُمَّ يُوصَى لَهُ بِهَا أَوْ يَرِثُهَا
Narrated Buraidah:
A woman came to the Messenger of Allah (ﷺ) and said: I donated my slave-girl to my mother, but she died and left the slave-girl. He said: Your reward became due, and she came back to you in inheritance. She said: She died while a month's fasting was due from her. Would it be sufficient or be taken as completed if I fast on her behalf ? He said: Yes. She said: She also did not perform Hajj. Would it be sufficient or be taken completed if I perform (Hajj) on her behalf ? He said: Yes.
Reference: Sunan Abi Dawud 2877
In-book reference: Book 18, Hadith 16
English translation: Book 17, Hadith 2871