Now Eli was very old; and he heard all that his sons did to all Israel, and how that they lay with the women who served at the door of the tent of meeting.
"At the entrance to the tent of meeting." It should be noted that the words "temple"  (1 Samuel 1:9) and "tent of meeting"  (1 Samuel 2:22) are used interchangeably in this part of 1Samuel.  The temple of Solomon was not constructed until long afterward; nevertheless, the tabernacle was often called "the temple."