(on the authority of his father) The Prophet (ﷺ) said, "Whoever passes through our mosques…

Sahih al-Bukhari Book 8 Hadith 101

Sahih al-Bukhari #452

Prayers (Salat) 8:101

Narrated Abu Burda bin `Abdullah:

(on the authority of his father) The Prophet (ﷺ) said, "Whoever passes through our mosques or markets with arrows should hold them by their heads lest he should injure a Muslim."

Chapter: Passing through the mosque (is permissible)

Grade: Sahih