If someone has money and he is not married, and in the same time he wants to go to the Hajj, which one is preferred: performing Hajj or getting married?
Which is the priority: Performing Hajj or getting married?
If someone has enough money to do both, then he should do both. In such a case, he may perform hajj, return to his homeland and get married or get married first and then perform hajj. But if he doesn't have enough money to do both or he fears that if he does one, he won't have enough money to do the other, then he should marry first. That is because the money he will spend to marry is approved by Sharia and isn't regarded as surplus wealth which he can use to perform hajj.
Allah says in the Quran (interpretation of the meaning):
“And Hajj (pilgrimage to Makkah) to the House (Ka‘bah) is a duty that mankind owes to Allaah, those who can afford the expenses (for one’s conveyance, provision and residence)”
[Aal ‘Imraan 3:97]
Hajj of course is preferred at the highest rank in heaven .
..."The best Jihad [for women] is Hajj-Mabrur"...
And ranks of Jihadis are the highest 100 degrees at Heaven (Called Eden). Consider Marriage after Hajj