[Machine] The Prophet Muhammad ﷺ said, "A Muslim cannot inherit from a Christian except by being their slave or servant." This is reported by Muhammad Ibn Amr, known as Al-Yafi'i from the people of Egypt, a truthful narrator of hadith. It is authentic because it is based on the narration of Amr Ibn Shuayb, which is also authentic.
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ «لَا يَرِثُ الْمُسْلِمُ النَّصْرَانِيَّ إِلَّا أَنْ يَكُونَ عَبْدَهُ أَوْ أَمَتَهُ» مُحَمَّدُ بْنُ عَمْرٍو هَذَا هُوَ الْيَافِعِيُّ مِنْ أَهْلِ مِصْرَ صَدُوقُ الْحَدِيثِ صَحِيحٌ فَإِنَّ الْأَصْلَ فِيهِ حَدِيثُ عَمْرِو بْنِ شُعَيْبٍ الَّذِي صحيح