Mishkat al-Masabih
Abu Huraira reported God’s Messenger as saying, “Have the imam in the centre and close up the gaps.’’ Abu Dawud transmitted it.
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «تَوَسَّطُوا الْإِمَامَ وَسُدُّوا الْخَلَلَ» . رَوَاهُ أَبُو دَاوُد
Reference