Jami` at-Tirmidhi, Book 33, Hadith 6 (Tirmidhi 2231)

Jabir narrated :

"The Messenger of Allah(s.a.w) prohibited passing an unsheathed sword."