Sunan an-Nasa'i 4166
سنن النسائي#4166SahihIt was narrated that Jabir bin Zaid said:"Ibn 'Abbas said: 'The Messenger of Allah (ﷺ), Abu Bakr and 'Umar were among the Muhajirin (emigrants), because they forsook (hajaru) the idolators, and some of the Ansar were Muhajirun because Al-Madinah was a land of shirk, and they came to the Messenger of Allah (ﷺ) on the Night of Al-'Aqabah
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Abu GhuddahSahih Isnaad
Al-AlbaniSahih Isnaad
Zubair Ali ZaiIsnaad Hasan
In-book reference: 39:18