Sunan an-Nasa'i 4652
It was narrated that Jabir said:
"A man from Banu 'Adhrah stated that a slave of his was to be set free after he died. News of that reached the Messenger of Allah and he said: 'Do you have any other property basides him/' He said? 'No.' the Messenger of Allah said; 'Who will buy him from me?' Nu'aim bin 'Abdullah Al-Adawi bought him for eight hundred Dirhams, which the Messenger of Allah brought and gave to him (the former owner). Then the Messenger of Allah said: 'Start with yourself and give charity to (yourself). If there is anything left over, then give it to your family; if there is anything left over from your family, then give it to your relatives; if there is anything left over from your relatives, then give it to such and such,' saying 'In front of you, to your right and to your left.
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، قَالَ أَعْتَقَ رَجُلٌ مِنْ بَنِي عُذْرَةَ عَبْدًا لَهُ عَنْ دُبُرٍ، فَبَلَغَ ذَلِكَ رَسُولَ اللَّهِ ﷺ فَقَالَ " أَلَكَ مَالٌ غَيْرُهُ " . قَالَ لاَ . فَقَالَ رَسُولُ اللَّهِ ﷺ " مَنْ يَشْتَرِيهِ مِنِّي " . فَاشْتَرَاهُ نُعَيْمُ بْنُ عَبْدِ اللَّهِ الْعَدَوِيُّ بِثَمَانِمِائَةِ دِرْهَمٍ فَجَاءَ بِهَا رَسُولَ اللَّهِ ﷺ فَدَفَعَهَا إِلَيْهِ ثُمَّ قَالَ " ابْدَأْ بِنَفْسِكَ فَتَصَدَّقْ عَلَيْهَا فَإِنْ فَضَلَ شَىْءٌ فَلأَهْلِكَ فَإِنْ فَضَلَ مِنْ أَهْلِكَ شَىْءٌ فَلِذِي قَرَابَتِكَ فَإِنْ فَضَلَ مِنْ ذِي قَرَابَتِكَ شَىْءٌ فَهَكَذَا وَهَكَذَا وَهَكَذَا " . يَقُولُ بَيْنَ يَدَيْكَ وَعَنْ يَمِينِكَ وَعَنْ شِمَالِكَ .