The Prophet ﷺ as saying: A Muslim may not inherit from an infidel nor an infidel from a Muslim. (Using translation from Abū Dāʾūd 2909)
عَنِ النَّبِيِّ ﷺ «لَا يَرِثُ الْكَافِرُ الْمُسْلِمَ وَلَا الْمُسْلِمُ الْكَافِرَ وَلَا يَتَوَارَثُ أَهْلُ مِلَّتَيْنِ»