The Messenger of Allah ﷺ said, "When one of you is in the mosque, Satan comes to him and coaxes him as a man coaxes his riding animal. When he becomes still for him, Satan either tethers him or bridles him."Abu Hurairah said, "You can see this for yourselves. As for the tethered one, you see him leaning to one side like this, not remembering Allah. As for the bridled one, his mouth is open and he does not remember Allah."
حدثنا أبو بكر الحنفي حدثنا الضحاك بن عثمان عن سعيد المقبري
قال رسول الله ﷺ إن أحدكم إذا كان في المسجد جاءه الشيطان فأبس به كما يأبس الرجل بدابته فإذا سكن له زنقه أو ألجمه قال أبو هريرة فأنتم ترون ذلك أما المزنوق فتراه مائلا كذا لا يذكر الله وأما الملجوم ففاتح فاه لا يذكر الله عز وجل
No references are available.
Its isnad is sahih. Saeed Maqburi is Saeed bin Abu Saeed, Kaysan, Abu Saad Maqburi. He narrated from his father, from Abu Hurairah, and from Ayesha, and Layth and Malik narrated from him. Ahmad said, "There is no harm in him." He died in the year 123, and it is also said 125.