Anas reported Allah's Messenger (ﷺ) as saying to Ubayy b. Ka'b
Allah has commanded me to recite the Qur'an to you. He said: Did Allah mention me to you by name? He (the Holy Prophet) said: Allah made a mention of your name to me. (On hearing this) Ubayy b. Ka'b wept.
Anas b. Malik reported that Allah's Messenger (ﷺ) said to Ubayy b. Ka'b
I have been commanded to recite to you the Sura (al- Bayyinah) which opens with these words (Lam Yakunil-ladhiyna Kafaruu) He said: Has he mentioned to you my name? He said: Yes; thereupon he shed tears of joy.
Qatada said
I heard Anas saying that the Messenger of Allah (ﷺ) said to Ubayy the same thing.