It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) supplicated on Thursday evening and said: "O Allah, honour Islam through Umar bin al-Khattab or through Amr bin Hisham." Then Sayyiduna Umar (may Allah be pleased with him) woke on Friday morning and accepted Islam.
Imam al-Tabarani (may Allah have mercy on him) said: "Al-Qasim is alone in narrating this."
And perhaps someone may say: "How has this hadith been recorded, when this incident took place in Makkah and Sayyiduna Anas (may Allah be pleased with him) was in Madinah?"
We say in reply: "Something similar has been narrated in the Sahih (of Muslim). Imam Muslim (may Allah have mercy on him) narrated, from the narration of Thabit (may Allah have mercy on him), from Sayyiduna Anas (may Allah be pleased with him), that when the news reached the Messenger of Allah (peace and blessings be upon him) that Abu Sufyan was approaching (with the caravan), he (peace and blessings be upon him) consulted the Companions. And in that narration there is mention of the black boy whom they had seized [the rest of the text is missing in the manuscript]."
Related hadith on this topic