The inheritance of an apostate
There is a difference of opinion regarding the inheritance of an apostate.
(Abu Hanifa (may Allah have mercy on him), Abu Yusuf (may Allah have mercy on him), Muhammad (may Allah have mercy on him)) The Muslim heirs inherit what the apostate earned while he was in the state of Islam, and whatever he earned in the state of apostasy will go to the Bayt al-Mal (public treasury).
(The majority, the Malikis, Shafi’is, Hanbalis) Like an original disbeliever, an apostate can neither inherit from a Muslim nor be inherited from. His estate will go to the Bayt al-Mal, regardless of whether he earned it in Islam or in apostasy.
[Al-Qawanin al-Fiqhiyyah: p. 394, Mughni al-Muhtaj: 25/3, Al-Mughni: 298/6]
(The preponderant view) The position of the majority is the preponderant one.
(Shawkani (may Allah have mercy on him)) He holds the same view.
[Nayl al-Awtar: 142/4]