Amat al-Wahid bint Yamin bin Abdullah al-Nasri (may Allah have mercy on her) narrates: I went to Muhammad bin Ka'b al-Qurazi (may Allah have mercy on him) and heard him say that Sayyiduna Abu Hurayrah (may Allah be pleased with him) told him: I heard the Messenger of Allah (peace and blessings be upon him) say: "Place the imam in the middle (of the row) and close the gaps (in the rows) so that Satan cannot pass through them, and place your sandals between your feet."
This hadith is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) only with this chain; Yahya bin Bashir is alone in narrating it.
Hadith Referenceالمعجم الأوسط / باب العين / 4457
Hadith Takhrij«أخرجه أبو داود فى «سننه» برقم: 681، والبيهقي فى «السنن الكبرى» برقم: 5284»