“A man came to the Prophet ﷺ and said: 'I gave my mother a garden of mine, and she has died and has no other heir but me.' The Messenger of Allah ﷺ said: 'Your charity is valid and your garden has been returned to you.' ” (Using translation from Ibn Mājah 2395)
يَا رَسُولَ اللهِ إِنِّي أَعْطَيْتُ أُمِّيحَدِيقَةً حَيَاتَهَا وَإِنَّهَا مَاتَتْ فَلَمْ تَتْرُكْ وَارِثًا غَيْرِي؟ فَقَالَ رَسُولُ اللهِ ﷺ وَجَبَتْ صَدَقَتُكَ وَرَجَعَتْ إِلَيْكَ حَدِيقَتُكَ