2 Samuel 4:10

when someone told me, saying, "Look, Saul is dead,' thinking to have brought good news, I arrested him and had him executed in Ziklag--the one who thought I would give him a reward for his news.

Surrounding context

4:9 But David answered Rechab and Baanah his brother, the sons of Rimmon the Beerothite, and said to them, "As the LORD lives, who has redeemed my life from all adversity,

4:10 when someone told me, saying, "Look, Saul is dead,' thinking to have brought good news, I arrested him and had him executed in Ziklag--the one who thought I would give him a reward for his news.

4:11 How much more, when wicked men have killed a righteous person in his own house on his bed? Therefore, shall I not now require his blood at your hand and remove you from the earth?"

Translation and sources