“The Messenger of Allah (ﷺ) said: ‘Keep your shoes on your feet. If you take them off then place them between your two feet; do not place them to your right, or to the right of your companions, or behind you, for they may annoy whoever is behind you.’”
Sunan Ibn Majah Book 5, Hadith 630