Jami` at-Tirmidhi, Book 29, Hadith 2238 (In-Book)

Al-Harith narrated that 'Ali said: "You recite this ayah: After payment of legacies he(or she) may have bequeathed or debts, without causing harm. And indeed the Messenger of Allah(S.A.W) judged the debt before the will and that the children (sons and daughters)from the same mother and father inherit,not the sons from various mothers. The man inherits from his brother from his father, and his mother, not his brother from his father.

حَدَّثَنَا بُنْدَارٌ، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَخْبَرَنَا سُفْيَانُ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْحَارِثِ، عَنْ عَلِيٍّ، أَنَّهُ قَالَ إِنَّكُمْ تَقْرَءُونَ هَذِهِ الآيَةَ ‏:‏ ‏(‏مِنْ بَعْدِ وَصِيَّةٍ تُوصُونَ بِهَا أَوْ دَيْنٍ ‏)‏ وَأَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَضَى بِالدَّيْنِ قَبْلَ الْوَصِيَّةِ وَإِنَّ أَعْيَانَ بَنِي الأُمِّ يَتَوَارَثُونَ دُونَ بَنِي الْعَلاَّتِ الرَّجُلُ يَرِثُ أَخَاهُ لأَبِيهِ وَأُمِّهِ دُونَ أَخِيهِ لأَبِيهِ ‏.‏

sunnah.com