Sahih al-Bukhari, Book 85, Hadith 41 (Bukhari 6519)

Narrated Usama bin Zaid:

the Prophet (ﷺ) said, "A Muslim cannot be the heir of a disbeliever, nor can a disbeliever be the heir of a Muslim."