Ali bin Abu Talib reported,

The Messenger of Allah ﷺ said, "Whoever possesses the provisions and a mount that can carry him to the House of Allah and yet does not perform the pilgrimage, it makes no difference whether he dies a Jew or a Christian. That is because Allah says in His Book, 'And pilgrimage to the House is a duty owed to Allah by people who are able to find a way there'" [Aal Imran 3:97].

Tirmidhi 812

Daif

حدثنا محمد بن يحيى القطعي البصري حدثنا مسلم بن إبراهيم حدثنا هلال بن عبد الله مولى ربيعة بن عمرو بن مسلم الباهلي حدثنا أبو إسحق الهمداني عن الحارث

عن علي قال

قال رسول الله ﷺ من ملك زادا وراحلة تبلغه إلى بيت الله ولم يحج فلا عليه أن يموت يهوديا أو نصرانيا وذلك أن الله يقول في كتابه {ولله على الناس حج البيت من استطاع إليه سبيلا}

الترمذي 812ضعيف
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Hajj
Chapter
Stern warning against abandoning Hajj
Numbering
Darussalam 812
Tirmidhi 812