I asked Anas bin Malik , "Who compiled the Quran during the time of the Prophet ﷺ?"He replied, "Four men, all of them from the Ansar: Ubayy bin Kaab, Muaz bin Jabal, Zayd bin Thabit, and Abu Zayd."Fadl followed him in this narration, from Husayn bin Waqid, from Thumama, from Anas.
حدثنا حفص بن عمر حدثنا همام حدثنا
سألت أنس بن مالك رضي الله عنه من جمع القرآن على عهد النبي ﷺ قال أربعة كلهم من الأنصار أبي بن كعب ومعاذ بن جبل وزيد بن ثابت وأبو زيد تابعه الفضل عن حسين بن واقد عن ثمامة عن أنس