Anas is reported to have said
Four persons collected the Qur'an during the lifetime of Allah's Messenger (ﷺ) and all of them were Ansar: Mu'adh b. Jabal, Ubayy b. Ka'b, Zaid b. Thabit, Abu Zaid. Qatada said: Anas, who was Abu Zaid? He said: He was one of my uncles.
Hammam said
I said to Anas b. Malik: Who collected the Qur'an during the lifetime of Allah's Messenger (ﷺ)? He said: Four (persons), all of them belonging to Ansir: Ubayy b. Ka'b, Mu'adh b. Jabal, Zaid b. Thabit and a person from the Ansar whose Kunya was Abu Zaid.
Anas b. Malik reported that Allah's Messenger (ﷺ) said to Ubayy
Verily Allah, the Exalted and Glorious, has commanded me to recite the Qur'an to you, whereupon he said: (Has) Allah mentioned my name to you? He said: Allah has mentioned your name to me. Thereupon he began to shed tears (of joy)
Anas reported Allah's Messenger (ﷺ) as saying to Ubayy b. Ka`b
Allah has commanded me to recite to you:" Those who disbelieve were not..." (al-Qur'an, xcviii. 1). He said: Did He mention me by name? He (the Prophet said): Yes. Upon this he shed tears (of gratitude).
This hadith has been narrated on the authority of Anas through another chain of transmitters.