This assembly had barely dispersed when Hazrat Jibreel (‘alaihis salaam) appeared before Rasulullah (sallallahu ‘alaihi wasallam) with divine revelation, informing him of the evil plot of the Quraish in the following verses:
وَ اِذۡ یَمۡکُرُ بِکَ الَّذِیۡنَ کَفَرُوۡا لِیُثۡبِتُوۡکَ اَوۡ یَقۡتُلُوۡکَ اَوۡ یُخۡرِجُوۡکَ ؕ وَ یَمۡکُرُوۡنَ وَ یَمۡکُرُ اللّٰہُ ؕ وَ اللّٰہُ خَیۡرُ الۡمٰکِرِیۡنَ ﴿۳۰﴾
“And remember (O Muhammed [sallallahu ‘alaihi wasallam]) when the disbelievers were conspiring against you, either to incarcerate you, kill you or banish you (from Makkah Mukarramah). They were plotting, and Allah was plotting, but Allah Ta‘ala is the best of plotters.” (Surah Anfaal v. 30)
Hazrat Jibreel (‘alaihis salaam) informed Rasulullah (sallallahu ‘alaihi wasallam) of the entire incident of the Quraish plotting against him, and conveyed to him permission from the side of Allah Ta‘ala to perform hijrah to Madinah Munawwarah. Rasulullah (sallallahu ‘alaihi wasallam) was also advised to recite the following du‘aa:
وَ قُلۡ رَّبِّ اَدۡخِلۡنِیۡ مُدۡخَلَ صِدۡقٍ وَّ اَخۡرِجۡنِیۡ مُخۡرَجَ صِدۡقٍ وَّ اجۡعَلۡ لِّیۡ مِنۡ لَّدُنۡکَ سُلۡطٰنًا نَّصِیۡرًا ﴿۸۰﴾
“And say, “My Rabb! Let my entry (into Madinah Munawwarah) be good, and (similarly) let my exit (from Makkah Mukarramah) be good, and grant me, from Your side, a dominion and assistance. (Surah Israa v. 80)
(Extracted from Seeratul Mustafa 1/357-358)