Musnad Ahmad 595
It was narrated from `Ali (رضي الله عنه):
Muhammad (ﷺ) ruled that debts must be paid before carrying art bequests, but you read the will before debts are paid off. [And he ruled] that sons from the same mother inherit from one another, but sons from different mothers do not.
حَدَّثَنَا سُفْيَانُ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْحَارِثِ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ قَضَى مُحَمَّدٌ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنَّ الدَّيْنَ قَبْلَ الْوَصِيَّةِ وَأَنْتُمْ تَقْرَءُونَ الْوَصِيَّةَ قَبْلَ الدَّيْنِ وَأَنَّ أَعْيَانَ بَنِي الْأُمِّ يَتَوَارَثُونَ دُونَ بَنِي الْعَلَّاتِ‏.‏