Hadithcore
Sahih al-Bukhari, 4282, 4283
sahih

Narrated `Amr bin `Uthman:

Usama bin Zaid said during the Conquest (of Mecca), "O Allah's Messenger (ﷺ) ! Where will we encamp tomorrow?" The Prophet (ﷺ) said, "But has `Aqil left for us any house to lodge in?" He then added, "No believer will inherit an infidel's property, and no infidel will inherit the property of a believer." Az- Zuhri was asked, "Who inherited Abu Talib?" Az-Zuhri replied, "Ail and Talib inherited him."

حَدَّثَنَا سُلَيْمَانُ بْنُ عَبْدِ الرَّحْمَنِ، حَدَّثَنَا سَعْدَانُ بْنُ يَحْيَى، حَدَّثَنَا مُحَمَّدُ بْنُ أَبِي حَفْصَةَ، عَنِ الزُّهْرِيِّ، عَنْ عَلِيِّ بْنِ حُسَيْنٍ، عَنْ عَمْرِو بْنِ عُثْمَانَ، عَنْ أُسَامَةَ بْنِ زَيْدٍ، أَنَّهُ قَالَ زَمَنَ الْفَتْحِ يَا رَسُولَ اللَّهِ، أَيْنَ تَنْزِلُ غَدًا قَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ وَهَلْ تَرَكَ لَنَا عَقِيلٌ مِنْ مَنْزِلٍ ‏"‏‏.‏ ثُمَّ قَالَ ‏"‏ لاَ يَرِثُ الْمُؤْمِنُ الْكَافِرَ، وَلاَ يَرِثُ الْكَافِرُ الْمُؤْمِنَ ‏"‏‏.‏ قِيلَ لِلزُّهْرِيِّ وَمَنْ وَرِثَ أَبَا طَالِبٍ قَالَ وَرِثَهُ عَقِيلٌ وَطَالِبٌ‏.‏ قَالَ مَعْمَرٌ عَنِ الزُّهْرِيِّ أَيْنَ تَنْزِلُ غَدًا‏.‏ فِي حَجَّتِهِ، وَلَمْ يَقُلْ يُونُسُ حَجَّتِهِ وَلاَ زَمَنَ الْفَتْحِ‏.‏

References2 variants
In-Book Reference
Book 64, Hadith 316
USC-MSA web (English) reference
Vol. 5, Book 59, Hadith 579 (deprecated numbering scheme)