Read the Arabic text and available English translation from Riyad as-Salihin, with its supplied source reference.
Sunnah.com : Book 18, Hadith 188
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لا وجدت، إنما بنيت المساجد لم بنيت له"
Buraidah (May Allah be pleased with him) said:
A man announced (the loss of his camel) in the mosque, uttering these words: "Has any one seen my 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 to be (i.e., prayer, remembrance of Allah, acquiring knowledge, etc.)."
[Muslim].
Full reference and source
Sunnah.com : Book 18, Hadith 188
Arabic/English book : Book 18, Hadith 1698
References, translations and numbering differ between editions. A URL number is an internal app record identifier, not universal hadith numbering. Only supplied grading is displayed; no new authenticity assessment is made.