Surah Al-Kahf

18:74

فَٱنطَلَقَا حَتَّىٰٓ إِذَا لَقِيَا غُلَٰمًۭا فَقَتَلَهُۥ قَالَ أَقَتَلْتَ نَفْسًۭا زَكِيَّةًۢ بِغَيْرِ نَفْسٍۢ لَّقَدْ جِئْتَ شَيْـًۭٔا نُّكْرًۭا

So they set out, until when they met a boy, al-Khidh r killed him. [Moses] said, "Have you killed a pure soul for other than [having killed] a soul? You have certainly done a deplorable thing."

Tafsir 18:74

After they disembarked from the ship they set out walking along the seashore, when they saw a young boy who was still not an adult playing with the other boys. Khidr killed him and Moses said to him: Did you kill a pure soul that is still a minor for no sin? You have really done something evil!!