Sunan an-Nasa'i, Book 37, Hadith 14 (Nasa'i 3989)

It was narrated that An-Nu'man bin Bashir said:

"We were with the Messenger of Allah said: 'Do not kill him, for I have been commanded to fight the people until they say La ilaha illallah, and if they say it, their blood and their wealth are safe from me, except for a right that is due, and their reckoning will be with Allah.'"