The Prophet (ﷺ) as saying: A Muslim may not inherit from an infidel nor an infidel from a Muslim.

Sunan Abi Dawud Book 19, Hadith 25