The Messenger of Allah ﷺ said, "Place the imam in the middle and close the gaps."
حدثنا جعفر بن مسافر حدثنا ابن أبي فديك عن يحيى بن بشير بن خلاد عن أمه أنها دخلت على محمد بن كعب القرظي فسمعته يقول
قال رسول الله ﷺ وسطوا الإمام وسدوا الخلل
No references are available.
[Its chain of transmission is daif]. Bayhaqi (3/104) reported it from the hadith of Abu Dawud, transmitted through him.Amat al-Wahid, the mother of Yahya, is unknown, and her son Yahya bin Bashir is mastur, as stated in Taqrib.