حَدَّثَنَا أَحْمَدُ بْنُ يُونُسَ، حَدَّثَنَا زُهَيْرٌ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ عَطَاءٍ، عَنْ عَبْدِ اللَّهِ بْنِ بُرَيْدَةَ، عَنْ أَبِيهِ، بُرَيْدَةَ ‏:‏ أَنَّ امْرَأَةً، أَتَتْ رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَتْ ‏:‏ كُنْتُ تَصَدَّقْتُ عَلَى أُمِّي بِوَلِيدَةٍ، وَإِنَّهَا مَاتَتْ وَتَرَكَتْ تِلْكَ الْوَلِيدَةَ ‏.‏ قَالَ ‏:‏ ‏"‏ قَدْ وَجَبَ أَجْرُكِ، وَرَجَعَتْ إِلَيْكِ فِي الْمِيرَاثِ ‏"‏ ‏.‏ قَالَتْ ‏:‏ وَإِنَّهَا مَاتَتْ وَعَلَيْهَا صَوْمُ شَهْرٍ ‏.‏ فَذَكَرَ نَحْوَ حَدِيثِ عَمْرٍو
Translation
Narrated Buraidah

A woman came to the Messenger of Allah (ﷺ) and said: I had given a slave girl in charity to my mother, but she died and left that slave girl. He said: Your reward has become certain, and she has returned to you in inheritance. She said: She died and there is upon her the fasting of a month. He then mentioned something similar to the hadith of 'Amr.