Praise be to Allah.
There is no blame on him if he spends the night outside Mina, but the place where he camps should be connected to the pilgrim camps, because Allah, may He be exalted, says (interpretation of the meaning):
“So fear Allah as much as you are able”
“and [Allah] has not placed upon you in the religion any difficulty”
“Allah intends for you ease and does not intend for you hardship”
But the place where he camps should be connected to the pilgrim camps, similar to the case of the congregation if the mosque is full; they should form a row where the last of the rows ends, and they will come under the same ruling as those who are praying inside the mosque. End quote.
Majmoo‘ Fataawa Ibn ‘Uthaymeen (23/240)