If somebody founds an endowment (or bequeathes) his relatives by a will
باب إِذَا وَقَفَ أَوْ أَوْصَى لأَقَارِبِهِ وَمَنِ الأَقَارِبُ
Sahih al-Bukhari, Book of Wills and Testaments (Wasaayaa)(view book)
Sahih al-Bukhari 2752
Narrated Anas:
The Prophet ﷺ said to Abu Talha, "I recommend that you divide (this garden) amongst your relatives." Abu Talha said, "O Allah's Apostle! I will do the same." So Abu Talha divided it among his relatives and cousins. Ibn 'Abbes said, "When the Qur'anic Verse:
"Warn your nearest kinsmen." (26.214) Was revealed, the Prophet started calling the various big families of Quraish, "O Bani Fihr! O Bani Adi!". Abu Huraira said, "When the Verse: "Warn your nearest kinsmen" was revealed, the Prophet ﷺ said (in a loud voice), "O people of Quraish!"
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، أَخْبَرَنَا مَالِكٌ، عَنْ إِسْحَاقَ بْنِ عَبْدِ اللَّهِ بْنِ أَبِي طَلْحَةَ، أَنَّهُ سَمِعَ أَنَسًا ـ رضى الله عنه ـ قَالَ قَالَ النَّبِيُّ ﷺ لأَبِي طَلْحَةَ " أَرَى أَنْ تَجْعَلَهَا فِي الأَقْرَبِينَ ". قَالَ أَبُو طَلْحَةَ أَفْعَلُ يَا رَسُولَ اللَّهِ. فَقَسَمَهَا أَبُو طَلْحَةَ فِي أَقَارِبِهِ وَبَنِي عَمِّهِ. وَقَالَ ابْنُ عَبَّاسٍ لَمَّا نَزَلَتْ {وَأَنْذِرْ عَشِيرَتَكَ الأَقْرَبِينَ} جَعَلَ النَّبِيُّ ﷺ يُنَادِي " يَا بَنِي فِهْرٍ، يَا بَنِي عَدِيٍّ ". لِبُطُونِ قُرَيْشٍ. وَقَالَ أَبُو هُرَيْرَةَ لَمَّا نَزَلَتْ {وَأَنْذِرْ عَشِيرَتَكَ الأَقْرَبِينَ} قَالَ النَّبِيُّ ﷺ " يَا مَعْشَرَ قُرَيْشٍ ".