He spent the Night outside of Mina due to the crowding
Question :
If the Hajj pilgrim cannot find a place to spend the night in Mina what should he do? If he spends the night outside of Mina is there any sin on him?
Answer:
If the Hajj pilgrim exerts much effort in finding a place in Mina to spend the night during the nights of Mina and he does not find anything, there is no sin on him if he spends the night outside of it. This is due to the Statement of Allâh:
"So fear Allâh as much as you are able."
There is no ransom (of atonement) due on him due to leaving off staying there due to his lack of ability to do so.
Source:
Ash-Shaykh Ibn Baz
Fatawa Islamiyah, Vol. 4 Page 229