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."
English reference: Vol. 4, Book 23, Hadith 2729
Arabic reference: Book 23, Hadith 2833
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.