The witnesses in the foundation of an endowment or in giving in charity
باب الإِشْهَادِ فِي الْوَقْفِ وَالصَّدَقَةِ
Sahih al-Bukhari, Book of Wills and Testaments (Wasaayaa)(view book)
Sahih al-Bukhari 2762
Narrated Ibn 'Abbas:
That the mother of Sad bin Ubada the brother of Bani Saida died in Sad's absence, so he came to the Prophet saying, "O Allah's Apostle! My mother died in my absence, will it benefit her if I give in charity on her behalf?" The Prophet ﷺ said, "Yes." Sad said, "I take you as my witness that I give my garden Al-Makhraf in charity on her behalf."
حَدَّثَنَا إِبْرَاهِيمُ بْنُ مُوسَى، أَخْبَرَنَا هِشَامُ بْنُ يُوسُفَ، أَنَّ ابْنَ جُرَيْجٍ، أَخْبَرَهُمْ قَالَ أَخْبَرَنِي يَعْلَى، أَنَّهُ سَمِعَ عِكْرِمَةَ، مَوْلَى ابْنِ عَبَّاسٍ يَقُولُ أَنْبَأَنَا ابْنُ عَبَّاسٍ، أَنَّ سَعْدَ بْنَ عُبَادَةَ ـ رضى الله عنهم ـ أَخَا بَنِي سَاعِدَةَ تُوُفِّيَتْ أُمُّهُ وَهْوَ غَائِبٌ، فَأَتَى النَّبِيَّ ﷺ فَقَالَ يَا رَسُولَ اللَّهِ إِنَّ أُمِّي تُوُفِّيَتْ وَأَنَا غَائِبٌ عَنْهَا، فَهَلْ يَنْفَعُهَا شَىْءٌ إِنْ تَصَدَّقْتُ بِهِ عَنْهَا قَالَ " نَعَمْ ". قَالَ فَإِنِّي أُشْهِدُكَ أَنَّ حَائِطِي الْمِخْرَافَ صَدَقَةٌ عَلَيْهَا.