Reference: Surah Al-Kahf – Quran, Chapter 18, Verse 74: Arabic and English Translation
74. Then they both proceeded, till they met a boy, he (Khidr) killed him. Musa (Moses) said: “Have you killed an innocent person who had killed none? Verily, you have committed a thing “Nukra” (a great Munkar – prohibited, evil, dreadful thing)!” (Translation by Muhsin Khan / Hilali)

Then the two went forth until they met a lad whom he slew, whereupon Moses exclaimed: “What! Have you slain an innocent person without his having slain anyone? Surely you have done a horrible thing.” (Translation by Abu Al-Alaa Maududi)
Then they proceeded: until, when they met a young man, he slew him. Moses said: “Hast thou slain an innocent person who had slain none? Truly a foul (unheard of) thing hast thou done!” (Translation by Yusuf Ali)
See Full Surah Al-Kahf





