Sunan an-Nasa'i 2546
It was narrated that Jabir said:
"A man from Banu 'Udhrah declared that a slave of his would become free after he died. News of that reached the Messenger of Allah and he said: 'Do you have any property besides 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. The Messenger of Allah brought it (the money) and gave it to him, then he said: 'Start with yourself and if there is anything left, give it to our family. If there is anything left after your family (has been taken care of), then give it to your relatives. If there is anything left after your relatives (have been taken care of), then (give it) to such and such, saying: 'In front of you and to your right and to your left."' (Shih)
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، قَالَ أَعْتَقَ رَجُلٌ مِنْ بَنِي عُذْرَةَ عَبْدًا لَهُ عَنْ دُبُرٍ، فَبَلَغَ ذَلِكَ رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ ‏"‏ أَلَكَ مَالٌ غَيْرُهُ ‏"‏ ‏.‏ قَالَ لاَ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ مَنْ يَشْتَرِيهِ مِنِّي ‏"‏ ‏.‏ فَاشْتَرَاهُ نُعَيْمُ بْنُ عَبْدِ اللَّهِ الْعَدَوِيُّ بِثَمَانِمِائَةِ دِرْهَمٍ فَجَاءَ بِهَا رَسُولُ اللَّهِ صلى الله عليه وسلم فَدَفَعَهَا إِلَيْهِ ثُمَّ قَالَ ‏"‏ ابْدَأْ بِنَفْسِكَ فَتَصَدَّقْ عَلَيْهَا فَإِنْ فَضَلَ شَىْءٌ فَلأَهْلِكَ فَإِنْ فَضَلَ شَىْءٌ عَنْ أَهْلِكَ فَلِذِي قَرَابَتِكَ فَإِنْ فَضَلَ عَنْ ذِي قَرَابَتِكَ شَىْءٌ فَهَكَذَا وَهَكَذَا يَقُولُ بَيْنَ يَدَيْكَ وَعَنْ يَمِينِكَ وَعَنْ شِمَالِكَ ‏"‏ ‏.‏