A man passed through the mosque carrying arrows, and the Messenger of Allah ﷺ said to him, "Hold them by their tips."The man replied, "Yes."
أخبرنا عبد الله بن محمد بن عبد الرحمن ومحمد بن منصور قالا حدثنا سفيان قال قلت لعمرو أسمعت
مر رجل بسهام في المسجد فقال له رسول الله ﷺ خذ بنصالها قال نعم
Bukhari, Prayer, Chapter: Holding the arrowheads when passing through the masjid, hadith no. 451, and Muslim, Righteousness and Kinship, Chapter: Ordering one who passes by with a weapon in a masjid or marketplace, etc., hadith no. 120/2614, narrated it from the hadith of Sufyan bin Uyayna, with this chain, and it is also in Kubra, hadith no. 797.