Abu Shatha reported,

We were sitting in the mosque with Abu Hurairah when the muadhin gave the call to prayer. A man got up and walked out of the mosque. Abu Hurairah followed him with his gaze until he left the mosque, then said, "As for this man, he has disobeyed Abu Qasim."In another narration, he saw a man passing through the mosque on his way out after the adhan and said, "As for this one, he has disobeyed Abu Qasim ﷺ."

Azami 1890

Sahih

عن أبي الشعثاء قال

كنا قعودا في المسجد مع أبي هريرة، فأذن المؤذن، فقام رجل من المسجد يمشي، فأتبعه أبو هريرة بصره حتى خرج من المسجد فقال أبو هريرة: أما هذا فقد عصى أبا القاسم. وفي رواية: رأى رجلا يجتاز المسجد خارجا بعد الأذان، فقال: أما هذا فقد عصى أبا القاسم ﷺ.

الأعظمي 1890صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Adhan
Section
Prohibition of leaving the masjid after the adhan
Numbering
Jami al-Kamil 1890 (2nd edition)
Azami 1890