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

Sunan Abi Dawud Book 15, Hadith 293