The Messenger of Allah ﷺ sent us in a detachment and said (to us): If you see a mosque or hear a mu'adhdhin (calling to prayer), do not kill anyone. (Using translation from Abū Dāʾūd 2635)
كَانَ رَسُولُ اللهِ ﷺ إِذَا بَعَثَ سَرِيَّةً قَالَ «إِنْ رَأَيْتُمْ مَسْجِدًا أَوْ سَمِعْتُمْ مُؤَذِّنًا فَلَا تَقْتُلُوا أَحَدًا»