A person from the Banu 'Udhra set a slave free after his death. This news reached the Messenger of Allah (may peace be upon hhn). Upon this he said: Have you any property besides it? He said: No. Upon this he said: Who would buy (this slave) from me? Nulaim b. Abdullah bought it for eight hundred dirhams and (this amount was) brought to the Messenger of Allah ﷺ who returned it to him (the owner), and then said: Start with your own self and spend it on yourself, and if anything is left, it should be spent on your family, and if anything is left (after meeting the needs of the family) it should be spent on relatives, and if anything is left from the family, it should be spent like this, like this. And he was saying: In front of you, on your right and on your left. (Using translation from Muslim 997a)
عَنْ دُبُرٍ فَبَلَغَ ذَلِكَ رَسُولَ اللهِ ﷺ فَقَالَ أَلَكَ مَالٌ غَيْرُهُ ؟ فَقَالَ لَا فَقَالَ مَنْ يَشْتَرِيهِ مِنِّي ؟ فَاشْتَرَاهُ نُعَيْمُ بْنُ عَبْدِ اللهِ الْعَدَوِيُّ بِثَمَانِمِائَةِ دِرْهَمٍ فَجَاءَ بِهَا إِلَى رَسُولِ اللهِ ﷺ فَدَفَعَهَا إِلَيْهِ ثُمَّ قَالَ ابْدَأْ بِنَفْسِكَ فَتَصَدَّقْ عَلَيْهَا فَإِنْ فَضَلَ شَيْءٌ فَلِأَهْلِكَ فَإِنْ فَضَلَ عَنْ أَهْلِكَ شَيْءٌ فَلِذِي قَرَابَتِكَ فَإِنْ فَضَلَ عَنْ ذِي قَرَابَتِكَ فَهَكَذَا وَهَكَذَا يَقُولُ فَبَيْنَ يَدَيْكَ وَعَنْ يَمِينِكَ وَعَنْ شِمَالِكَ