(45) باب النَّهْىِ عَنِ الْخُرُوجِ، مِنَ الْمَسْجِدِ إِذَا أَذَّنَ الْمُؤَذِّنُ
Abu Sha'tha' reported:
While we were sitting with Abu Huraira in a mosque a man went out of the mosque after the call to prayer had been announced. (A man stood up in the mosque and set off.) Abu Huraira's eyes followed him till he went out of the mosque. Upon this Abu Huraira said: This man has disobeyed Abu'l- Qasim (Muhammad) (ﷺ).
Reference: Sahih Muslim 655 a
In-book reference: Book 5, Hadith 325
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1377