6:77
فَ لَمَّا رَءَا ٱلْ قَمَرَ بَازِغًا قَالَ هَٰذَا رَبِّ ى فَ لَمَّآ أَفَلَ قَالَ لَ ئِن لَّمْ يَهْدِ نِى رَبِّ ى لَ أَكُونَ نَّ مِنَ ٱلْ قَوْمِ ٱل ضَّآلِّينَ
And when he saw the moon rising, he said, "This is my lord." But when it set, he said, "Unless my Lord guides me, I will surely be among the people gone astray."
6:78
فَ لَمَّا رَءَا ٱل شَّمْسَ بَازِغَةً قَالَ هَٰذَا رَبِّ ى هَٰذَآ أَكْبَرُ فَ لَمَّآ أَفَلَتْ قَالَ يَٰ قَوْمِ إِنِّ ى بَرِىٓءٌ مِّ مَّا تُشْرِكُ ونَ
And when he saw the sun rising, he said, "This is my lord; this is greater." But when it set, he said, "O my people, indeed I am free from what you associate with Allah.