Sahl said: The distance between the place where the Prophet ﷺ stood and the qiblah (ie the sutrah or the wall of the mosque) was as much as to allow a goat to pass.
The Prophet ﷺ also taught us to be respectful of other people's space when we are in public places such as mosques or other places of worship. We should always remember that we are sharing these spaces with others and should not do anything which might disturb them or cause them any discomfort while they are trying to pray or perform any religious duties.