The Messenger of Allah ﷺ commanded a man who was distributing arrows as charity in the mosque not to pass through with them unless he was holding them by their arrowheads.
حدثنا قتيبة بن سعيد حدثنا الليث عن أبي الزبير
عن رسول الله ﷺ أنه أمر رجلا كان يتصدق بالنبل في المسجد أن لا يمر بها إلا وهو آخذ بنصولها
Muslim narrated it in the Book of Righteousness and Kinship, chapter on the command to whoever passes through a masjid, marketplace, or other place where people gather while carrying a weapon to hold it by its blade heads, hadith no. 122/2614, from Qutayba, through him.