Sahih Muslim, Book 23, Hadith 1 (Muslim 4102)

Usama b. Zaid reported Allah's Messenger (ﷺ) as saying:

A Muslim is not entitled to inherit from a non-Muslim, and a non-Muslim is not entitled to inherit from a Muslim.