Surah Ash-Shu'araa

26:21

فَفَرَرْتُ مِنكُمْ لَمَّا خِفْتُكُمْ فَوَهَبَ لِى رَبِّى حُكْمًۭا وَجَعَلَنِى مِنَ ٱلْمُرْسَلِينَ

So I fled from you when I feared you. Then my Lord granted me wisdom and prophethood and appointed me [as one] of the messengers.

Tafsir 26:21

So I fled from you to Madyan after killing him when I feared that you will kill me. Then my Lord gave me knowledge and made me one of His Messengers that He sends to people.