← Sahih al-Bukhari
Sahih al-Bukhari · Hadith #6519 · Laws of Inheritance (Al-Faraa'id)

Narrated Usama bin Zaid:

حَدَّثَنَا أَبُو عَاصِمٍ، عَنِ ابْنِ جُرَيْجٍ، عَنِ ابْنِ شِهَابٍ، عَنْ عَلِيِّ بْنِ حُسَيْنٍ، عَنْ عَمْرِو بْنِ عُثْمَانَ، عَنْ أُسَامَةَ بْنِ زَيْدٍ ـ رضى الله عنهما ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏ "‏ لاَ يَرِثُ الْمُسْلِمُ الْكَافِرَ، وَلاَ الْكَافِرُ الْمُسْلِمَ ‏"‏‏.‏

the Prophet (ﷺ) said, "A Muslim cannot be the heir of a disbeliever, nor can a disbeliever be the heir of a
Muslim."