From Sahih Muslim (Hadith 1263):
Sulaiman b. Buraida reported on the authority of his father that when the Messenger of Allah (ﷺ) had said prayer a man stood up and said:Who called for a red camel? (Upon this) the Messenger of Allah (ﷺ) said: May it not be restored to you! The mosques are built for what they are meant
Reference: Muslim 1263