The Prophet (ﷺ) said: Faith prevented assassination. A believer should not assassinate.

Sunan Abu Dawud Book 15 Hadith 293

Sunan Abu Dawud #2769

Jihad (Kitab Al-Jihad) 15:293

Narrated AbuHurayrah:

The Prophet (ﷺ) said: Faith prevented assassination. A believer should not assassinate.

Chapter: To Attack The Enemy By Surprise And To Imitate Them

Grade: Sahih (Al-Albani)