HAKIM 2944:
from Usāmah b. Zayd —
[Machine] The Prophet ﷺ said, "The people of two different religions do not inherit from each other, and a Muslim does not inherit from a disbeliever, nor does a disbeliever inherit from a Muslim." Then he recited the verse, "And those who disbelieve are allies of one another. If you do not do so, there will be fitnah on earth and great corruption" (Quran 8: 73) with a ya.
الحاكم ٢٩٤٤:
عن اسامه بن زيد —
عَنِ النَّبِيِّ ﷺ قَالَ «لَا يَتَوَارَثُ أَهْلُ مِلَّتَيْنِ وَلَا يَرِثُ مُسْلِمٌ كَافِرًا وَلَا كَافِرٌ مُسْلِمًا» ثُمَّ قَرَأَ {وَالَّذِينَ كَفَرُوا بَعْضُهُمْ أَوْلِيَاءُ بَعْضٍ إِلَّا تَفْعَلُوهُ تَكُنْ فِتْنَةٌ فِي الْأَرْضِ وَفَسَادٌ كَبِيرٌ} [الأنفال 73] بِالْيَاءِ
hadithunlocked.com