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." (TR)
English reference (TR): Vol. 4, Book 23, Hadith 2729 (TR)
Arabic reference (TR): Book 23, Hadith 2833 (TR)