From Sahih Muslim (Hadith 1490):
Abu Sha'tha' al-Muharibi reported on the authority of his father, who said:I heard it from Abu Huraira that he saw a person getting out of the mosque after the call to prayer had been announced. Upon this he remarked: This (man) disobeyed Abu'l-Qasim (ﷺ)
Reference: Muslim 1490