Sunan Ibn Majah, Volume 4, Book 23, Hadith 2731 (DarusSalam) ⓘ
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.”
حَدَّثَنَا مُحَمَّدُ بْنُ رُمْحٍ، أَنْبَأَنَا ابْنُ لَهِيعَةَ، عَنْ خَالِدِ بْنِ يَزِيدَ، أَنَّ الْمُثَنَّى بْنَ الصَّبَّاحِ، أَخْبَرَهُ عَنْ عَمْرِو بْنِ شُعَيْبٍ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " لاَ يَتَوَارَثُ أَهْلُ مِلَّتَيْنِ " .
also referenced under: Hadith 2731 (Reference) & Book 23, Hadith 2836 (In-Book)