Usama bin Zayd reported,

The Prophet ﷺ said, "A Muslim does not inherit from a disbeliever, nor does a disbeliever inherit from a Muslim."

Bukhari 6764

Sahih

حدثنا أبو عاصم عن ابن جريج عن ابن شهاب عن علي بن حسين عن عمرو بن عثمان

عن أسامة بن زيد رضي الله عنهما

أن النبي ﷺ قال لا يرث المسلم الكافر ولا الكافر المسلم

البخاري 6764صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Obligatory duties
Chapter
A Muslim does not inherit from a disbeliever nor a disbeliever from a Muslim, and if one accepts Islam before the inheritance is divided there is no inheritance for him
Numbering
Darussalam 6764
Bukhari 6764