CHAPTER: On A Person Who Gives The Sadaqah And He Inherits It Later On.
Buraidah said A woman came to the Messenger of Allah صلی اللہ علیہ وسلم and said I gave a slave girl as sadaqah to my mother who has now died and has left that slave girl. He said your reward is sure and the inheritance has given her back to you.
Authentic