Hadith 1955
Buraida said that when he was sitting with the Prophet a woman came to him and said, “Messenger of God, I gave a slavegirl as sadaqa to my mother who has now died.” He replied. “Your reward is sure, and the inheritance has given her back to you.” She said, "Messenger of God, a month's fast was due from her; may I fast on her behalf ?” He replied, “Fast on her behalf.” She said, “She never performed the pilgrimage, so may I do so on her behalf ?” He replied, “Yes, perform the pilgrimage on her behalf.” Muslim transmitted it.
وَعَنْ بُرَيْدَةَ قَالَ: كُنْتُ جَالِسًا عِنْدَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذْ أَتَتْهُ امْرَأَةٌ فَقَالَت يَا رَسُول الله إِنِّي كنت تَصَدَّقْتُ عَلَى أُمِّي بِجَارِيَةٍ وَإِنَّهَا مَاتَتْ قَالَ: «وَجَبَ أَجَرُكِ وَرَدَّهَا عَلَيْكِ الْمِيرَاثُ» . قَالَتْ يَا رَسُولَ اللَّهِ إِنَّهُ كَانَ عَلَيْهَا صَوْمُ شَهْرٍ أفأصوم عَنْهَا قَالَ: «صومي عَنْهَا» . قَالَت يَا رَسُول الله إِنَّهَا لَمْ تَحُجَّ قَطُّ أَفَأَحُجُّ عَنْهَا قَالَ: «نعم حجي عَنْهَا» . رَوَاهُ مُسلم