Sunan Ibn Majah, Book 33, Hadith 122 (Ibn Majah 3780)

It was narrated from Abu Musa that the Prophet(ﷺ) said:

"When anyone of you passes through our masjid or our marketplace carrying arrows, let him hold them by their heads, lest he hurt any Muslims."