Numbers 22:8

22:8 He replied to them, “Stay here tonight, and I will bring back to you whatever word the Lord may speak to me.” So the princes of Moab stayed with Balaam.

tn The verb לִין (lin) means “to lodge, spend the night.” The related noun is “a lodge” – a hotel of sorts. Balaam needed to consider the offer. And after darkness was considered the best time for diviners to consult with their deities. Balaam apparently knows of the Lord; he testifies to this effect in 22:18.