With the same chain, it is reported from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that he said: The Prophet (peace and blessings be upon him) said: "When one of you is in the mosque, Satan comes to him and frightens him, just as a man frightens his animal; and when he remains calm before him, he either constricts him or puts a bridle on him." Sayyiduna Abu Hurayrah (may Allah be pleased with him) said: You see this situation: there is a person who is leaning (to one side), and the one who has been bridled is the one you see with his mouth open, not remembering Allah.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الطهارة / 1247