From Sahih Muslim (Hadith 1262):
Sulaiman b. Buraida narrated it on the authority of his father that a man cried out in the mosque saying:Who had called out for the 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 1262