Sunan an-Nasa'i, Book 37, Hadith 132 (Nasa'i 4107)

It was narrated from Ibn Az-Zubair that:

The Messenger of Allah said: "Whoever unsheathes his sword and starts to strike the people with it, it is permissible to shed his blood."