the Prophet (ﷺ) said, "A Muslim cannot be the heir of a disbeliever, nor can a disbeliever be the heir of a Muslim."
Sahih al-Bukhari Book 85, Hadith 41