And [for] their saying, "Indeed, we have killed the Messiah, Jesus the son of Mary, the messenger of Allāh." And they did not kill him, nor did they crucify him; but [another] was made to resemble him to them. And indeed, those who differ over it are in doubt about it. They have no knowledge of it except the following of assumption. And they did not kill him, for certain.1
Translation: Saheeh International (English)
1 Another meaning is "And they did not kill him, being certain [of his identity]," i.e., they killed another assuming it was Jesus (upon whom be peace).
I cursed them because they proudly, but falsely, said, ‘We killed the Messiah, Jesus, son of Mary, the messenger of Allah’. They did not kill him as they claimed, nor did they crucify him; but they killed and crucified a man whom Allah made to resemble Jesus, so they thought the person who was killed was Jesus. Those Jews who claimed to have killed him and those Christians who surrendered him over to them are in doubt and confusion regarding the matter. They have no knowledge, but make guesses that are of no worth against the truth. Truly, they did not kill Jesus nor crucify him.