[Machine] A woman came to the Prophet ﷺ and said, "O Messenger of Allah, I had made a bequest to my mother for a young girl. However, she passed away and left behind the girl. Should I fulfill my bequest and give her the girl?" The Prophet ﷺ replied, "Yes, you should fulfill your bequest and the girl shall be returned to you as part of the inheritance." The woman then asked, "But she had a missed fast. Can I fast on her behalf?" The Prophet ﷺ answered, "Yes, you may fast on her behalf." She further asked, "And if she had not performed the pilgrimage, can I perform it on her behalf?" The Prophet ﷺ replied, "Yes, you may perform the pilgrimage on her behalf." This hadith was narrated by Abu Nasr Al-Fami, from Abu Abdullah, from Muhammad ibn Shadhan, from Ali ibn Hujr, from Ali ibn Musheer, from Abdullah ibn Ata' through a similar chain of narration.
أَنَّ امْرَأَةً أَتَتِ النَّبِيَّ ﷺ فَقَالَتْ يَا رَسُولَ اللهِ إِنِّي كُنْتُ تَصَدَّقْتُ عَلَى أُمِّي بِوَلِيدَةٍ وَإِنَّهَا مَاتَتْ وَتَرَكَتِ الْوَلِيدَةَ قَالَ وَجَبَ أَجْرُكِ وَرَجَعَ إِلَيْكِ فِي الْمِيرَاثِ قَالَتْ فَإِنَّهَا مَاتَتْ وَعَلَيْهَا صَوْمٌ فَيُجْزِئُ أَنْ أَصُومَ عَنْهَا؟ قَالَ نَعَمْ قَالَتْ وَلَمْ تَحُجَّ فَيُجْزِئُ أَنْ أَحُجَّ عَنْهَا؟ قَالَ نَعَمْ 8671 وَأَخْبَرَنَا أَبُو نَصْرٍ الْفَامِيُّ ثنا أَبُو عَبْدِ اللهِ ثنا مُحَمَّدُ بْنُ شَاذَانَ ثنا عَلِيُّ بْنُ حُجْرٍ أنبأ عَلِيُّ بْنُ مُسْهِرٍ عَنْ عَبْدِ اللهِ بْنِ عَطَاءٍ بِهَذَا الْإِسْنَادِ نَحْوَهُ