The Prophet (ﷺ) said: people of two different religions would not inherit from one another. Sunan Abi Dawud Book 19, Hadith 27