It is narrated from Mak'hool (may Allah have mercy on him): If a man makes a bequest to spend dinars in the way of Allah for someone, and the one for whom the bequest was made passes away before the testator, he said: Before it leaves the hands of the heirs of the testator, such a bequest is permissible for the heirs of the one for whom the bequest was made. He also said: It is the responsibility of the heirs of the deceased testator to execute this bequest in the way of Allah.
Hadith Referenceسنن دارمي / من كتاب الوصايا / 3333
Hadith Gradingتحقیق (حسین سلیم أسد الدارانی):إسناده ضعيف الوليد بن مسلم قد عنعن وهو مدلس، [مكتبه الشامله نمبر: 3344]
Hadith Takhrijاس اثر کی سند میں ولید بن مسلم مدلس ہیں اور عن سے روایت کی ہے۔