Anas bin Malik reported,

The Prophet ﷺ used to say, "Draw your rows close together, keep them near one another, and align your necks. By Him in whose hand is the soul of Muhammad, I can see Satan slipping in through the gaps in the row like a little black sheep."

Ahmad 14017

Sahih

حدثني قال وإن النبي ﷺ كان يقول تراصوا صفوفكم وقاربوا بينها وحاذوا بين الأعناق فوالذي نفس محمد بيده إني لأرى الشيطان يدخل من خلل الصف كأنه الحذف

أحمد 14017صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 14017
Ahmad 14017