Sayyidina Ali (RA) said, you recite this verse: While Allah’s Messenger (SAW) had commanded that debts be discharged before inheritance. And that real brothers are heirs at the exclusion of half brothers. A man inherits his brothers from the same father and mother at the exclusion of his half brother from the same father. The verse of the Qur’an: After (paying) of a bequest you may have bequeathed, or a debt. (4: 12)
[Ibn Majah 2715]