During the prayer, the gaze should be kept on the place of prostration,
because when the Prophet ﷺ prayed, he would keep his head lowered and fix his gaze toward the ground. And when the Prophet ﷺ entered the Kaaba, he did not lift his gaze from the place of prostration until he left it.
Reference: For further details see: Sifat Salat al-Nabi by al-Albani: p. 151