Sayyidina Ali (RA) narrated that Allah’s Messenger (SAW) said, “If a person possesses enough provision of journey and a ridingbeast to take him to the House of Allah but does not perform Hajj then it makes no difference whether he dies a Jew or a Christian. and that is because Allah has said in His Book.”
And pilgrimage to the House is a duty of Mankind towards Allah, for him who is able to make his way to it. (3: 97)