Surah Al-Kahf

18:86

حَتَّىٰٓ إِذَا بَلَغَ مَغْرِبَ ٱلشَّمْسِ وَجَدَهَا تَغْرُبُ فِى عَيْنٍ حَمِئَةٍۢ وَوَجَدَ عِندَهَا قَوْمًۭا ۗ قُلْنَا يَٰذَا ٱلْقَرْنَيْنِ إِمَّآ أَن تُعَذِّبَ وَإِمَّآ أَن تَتَّخِذَ فِيهِمْ حُسْنًۭا

Until, when he reached the setting of the sun, he found it [as if] setting in a spring of dark mud, and he found near it a people. Allah said, "O Dhul-Qarnayn, either you punish [them] or else adopt among them [a way of] goodness."

Tafsir 18:86

And he travelled on earth until he reached the end of the land towards the setting place of the sun, seeing it as though it was setting in a hot spring of black clay. And he found an unbelieving people by the setting place of the sun. So I said to him, to test him: “O Dhu’l-Qarnayn, you can either punish these people by killing them or through other means, or you can be good to them”.