It was narrated from Usamah bin Zaid, who attributed it to the Prophet (ﷺ): “The Muslim does not inherit from a disbeliever and the disbeliever does not inherit from a Muslim.”
It was narrated from Usamah bin Zaid that he said: “O Messenger of Allah, will you stay in your house in Makkah?” He said: “Has ‘Aqeel left us any houses?”
It was narrated from ‘Amr bin Shu’aib, from his father, from his grandfather, that the Messenger of Allah (ﷺ) said: “People of two different religions do not inherit from one another.”