Sahih Muslim | Book 32 | Hadith Number 6333

Narrated by Jabir
Jabir reported that Allah's Messenger (may peace be upon him) commanded a person who had been distributing arrows freely in the mosque that he should not move about in the mosque but by catching hold of their iron-heads. Ibn Rumh narrated this with a slight variation of wording.