It wasnarrated that Abu Hurairah said:
"The Messenger of Allah (ﷺ)said: 'Keep your shoes on your feet. If you take them off thenplacethem between your two feet; do not place them to your right, orto theright of your companions, or behind you, for they may annoywhoever isbehind you.'" (ES)
English reference (ES): Vol. 1, Book 5, Hadith 1432 (ES)
Arabic reference (ES): Book 5, Hadith 1499 (ES)