It wasnarrated from Usamah bin Zaid, who attributed it to theProphet(ﷺ):
"The Muslim does not inherit from a disbeliever and thedisbeliever does not inherit from a Muslim." (ES)
English reference (ES): Vol. 4, Book 23, Hadith 2729 (ES)
Arabic reference (ES): Book 23, Hadith 2833 (ES)