Spending the Night in Haram
Question :

If one chooses to spend the night in the Haram in Mecca instead of going to Mina, what time should he or she start? Can he or she start around 10:00 pm until Fajr? Would that suffice?

Answer :

It is permissible for the pilgrim to stay overnight in Mecca while he is busy in worshipping, instead of Mina. The amount of time mentioned in the question is sufficient.