Abu Hurairah reported the Messenger of Allah (ﷺ) as saying:
when any of you prays and takes off his sandals, he should not harm anyone by them. He should place them between his feet or pray with them on