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