Sunan Ibn Majah, Book 5, Hadith 630 (Ibn Majah 1432)

It was narrated that Abu Hurairah said:

“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.’”