Exodus 33:7-11

7 Now Moses used to take the tent and pitch it outside the camp, far off from the camp; he called it the tent of meeting. And everyone who sought the Lord would go out to the tent of meeting, which was outside the camp.
8 Whenever Moses went out to the tent, all the people would rise and stand, each of them, at the entrance of their tents and watch Moses until he had gone into the tent.
9 When Moses entered the tent, the pillar of cloud would descend and stand at the entrance of the tent, and the Lord would speak with Moses.
10 When all the people saw the pillar of cloud standing at the entrance of the tent, all the people would rise and bow down, all of them, at the entrance of their tent.
11 Thus the Lord used to speak to Moses face to face, as one speaks to a friend. Then he would return to the camp; but his young assistant, Joshua son of Nun, would not leave the tent.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.