Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:812Muḥammad b. Yaḥyá al-Quṭaʿī al-Baṣrī > Muslim b. Ibrāhīm > Hilāl b. ʿAbdullāh a freed slave of Rabīʿah b. ʿAmr b. Muslim al-Bāhilī > Abū Isḥāq al-Hamdānī > al-Ḥārith > ʿAlī

The Messenger of Allah said: "Whoever has the provisions and the means to convey him to Allah's House and he does not perform Hajj, then it does not matter if he dies as a Jew or a Christian. That is because Allah said in His Book: 'And Hajj to the House is a duty that mankind owes to Allah, for whomever is able to bear the journey.'  

الترمذي:٨١٢حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى الْقُطَعِيُّ الْبَصْرِيُّ حَدَّثَنَا مُسْلِمُ بْنُ إِبْرَاهِيمَ حَدَّثَنَا هِلاَلُ بْنُ عَبْدِ اللَّهِ مَوْلَى رَبِيعَةَ بْنِ عَمْرِو بْنِ مُسْلِمٍ الْبَاهِلِيِّ حَدَّثَنَا أَبُو إِسْحَاقَ الْهَمْدَانِيُّ عَنِ الْحَارِثِ عَنْ عَلِيٍّ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ مَنْ مَلَكَ زَادًا وَرَاحِلَةً تُبَلِّغُهُ إِلَى بَيْتِ اللَّهِ وَلَمْ يَحُجَّ فَلاَ عَلَيْهِ أَنْ يَمُوتَ يَهُودِيًّا أَوْ نَصْرَانِيًّا وَذَلِكَ أَنَّ اللَّهَ يَقُولُ فِي كِتَابِهِ (وَلِلَّهِ عَلَى النَّاسِ حِجُّ الْبَيْتِ مَنِ اسْتَطَاعَ إِلَيْهِ سَبِيلاً )  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ غَرِيبٌ لاَ نَعْرِفُهُ إِلاَّ مِنْ هَذَا الْوَجْهِ وَفِي إِسْنَادِهِ مَقَالٌ وَهِلاَلُ بْنُ عَبْدِ اللَّهِ مَجْهُولٌ وَالْحَارِثُ يُضَعَّفُ فِي الْحَدِيثِ

See similar narrations below:

Collected by Suyūṭī
suyuti:23343a
Request/Fix translation

  

السيوطي:٢٣٣٤٣a

"مَنْ مَلَك زَادًا وَرَاحِلَةً تُبَلِّغُه إِلَى بَيتِ الله الحَرَامِ، فَلَمْ يَحُجَ فَلا عَلَيه أَنْ يَمُوتَ يَهُودِيًّا أَوْ نَصْرَانِيًّا، وَذَلِكَ أَن اللهَ يَقُولُ فِي كِتابِه: {وَلِلَّهِ عَلَى النَّاسِ حِجُّ الْبَيتِ مَنِ اسْتَطَاعَ إِلَيهِ سَبِيلًا وَمَنْ كَفَرَ فَإِنَّ اللَّهَ غَنِيٌّ عَنِ الْعَالمِينَ (97)} [آل عمران: 97].  

[ت] الترمذي وضعَّفه، وابن جرير، [هب] البيهقى في شعب الإيمان عن علي