Riyad as-Salihin, Book 18, Hadith 1700 (In-Book)

As-Sa'ib bin Yazid (May Allah be pleased with him) said: While I was in the mosque, someone threw a pebble at me, and when I looked up, I saw that it was 'Umar bin Al-Khattab, who said: "Go and call me these two men." I brought them and 'Umar (May Allah be pleased with him) asked them: "Where are you from?" On their replying that they belonged to At-Taif, he said: "Had you been the inhabitants of Al-Madinah, I would have given you a beating for raising your voices in the mosque of the Messenger of Allah."[Al- Bukhari].

وعن السائب بن زيد الصحابي رضي الله عنه قال‏:‏ كنت في المسجد فحصبني رجل، فنظرت فإذا عمر بن الخطاب رضي الله عنه فقال‏:‏ اذهب فائتني بهذين، فجئته بهما، فقال‏:‏ من أين أنتما‏؟‏ فقالا‏:‏ من أهل الطائف، فقال‏:‏ لو كنتما من أهل البلد، لأوجعتكما، ترفعان أصواتكما في مسجد رسول الله صلى الله عليه وسلم ‏!‏ ‏(‏‏(‏رواه البخاري‏)‏‏)‏‏.‏

sunnah.com