Jabir said “The Apostle of Allaah ﷺ ordered a man who was distributing arrows not to pass the mosque with them except that he is holding their heads. (Using translation from Abū Dāʾūd 2586)
عَنْ رَسُولِ اللهِ ﷺ أَنَّهُ أَمَرَ رَجُلًا كَانَ يَتَصَدَّقُ بِالنَّبْلِ فِي الْمَسْجِدِ أَنْ لَا يَجِيءَ بِهَا إِلَّا وَهُوَ آخِذٌ بِنُصُولِهَا