The question is “who arranged the surahs of the Quran?”. The answer lies in a combination of divine instruction and prophetic guidance.
The Divine Revelation of the Quran
The Quran was revealed to the Prophet Muhammad ﷺ over 23 years. It came in response to specific events, questions, and needs. However, it was not revealed in the order we see today.
Prophet Muhammad ﷺ Ordered the Surahs
According to authentic narrations, the Prophet ﷺ personally instructed the placement of verses and surahs. He did so under divine direction.
In Jami` at-Tirmidhi (Book 47, Hadith 138), it is reported:
Narrated Ibn ‘Abbas: “I said to ‘Uthman bin ‘Affan: ‘What was your reasoning with Al-Anfal – while it is from the Muthani (Surah with less than one-hundred Ayat), and Bara’ah while it is from the Mi’in (Surah with about one-hundred Ayat), then you put them together, without writing the line Bismillahir-Rahmanir-Rahim between them, and you placed them with the seven long (Surah) – why did you do that?’ So ‘Uthman said: ‘A long time might pass upon the Messenger of Allah (ﷺ) without anything being revealed to him, and then sometimes a Surah with numerous (Ayat) might be revealed. So when something was revealed, he would call for someone who could write, and say: “Put these Ayat in the Surah which mentions this and that in it.” When an Ayah was revealed, he would say: “Put this Ayah in the Surah which mentions this and that in it.” Now Al-Anfal was among the first of those revealed in Al-Madinah, and Bara’ah among the last of those revealed of the Qur’an, and its narrations (those of Bara’ah) resembled its narrations (those of Al-Anfal), so we thought that it was part of it. Then the Messenger of Allah (ﷺ) died, and it was not made clear to us whether it was part of it. So it is for this reason that we put them together without writing Bismillahir-Rahmanir-Rahim between them, and we put that with the seven long (Surahs).'”
حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، وَمُحَمَّدُ بْنُ جَعْفَرٍ، وَابْنُ أَبِي عَدِيٍّ، وَسَهْلُ بْنُ يُوسُفَ، قَالُوا حَدَّثَنَا عَوْفُ بْنُ أَبِي جَمِيلَةَ، حَدَّثَنَا يَزِيدُ الْفَارِسِيُّ، حَدَّثَنَا ابْنُ عَبَّاسٍ، قَالَ قُلْتُ لِعُثْمَانَ بْنِ عَفَّانَ مَا حَمَلَكُمْ أَنْ عَمَدْتُمْ، إِلَى الأَنْفَالِ وَهِيَ مِنَ الْمَثَانِي وَإِلَى بَرَاءَةَ وَهِيَ مِنَ الْمِئِينَ فَقَرَنْتُمْ بَيْنَهُمَا وَلَمْ تَكْتُبُوا بَيْنَهُمَا سَطْرَ بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ وَوَضَعْتُمُوهُمَا فِي السَّبْعِ الطُّوَلِ مَا حَمَلَكُمْ عَلَى ذَلِكَ فَقَالَ عُثْمَانُ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم مِمَّا يَأْتِي عَلَيْهِ الزَّمَانُ وَهُوَ تَنْزِلُ عَلَيْهِ السُّوَرُ ذَوَاتُ الْعَدَدِ فَكَانَ إِذَا نَزَلَ عَلَيْهِ الشَّىْءُ دَعَا بَعْضَ مَنْ كَانَ يَكْتُبُ فَيَقُولُ ضَعُوا هَؤُلاَءِ الآيَاتِ فِي السُّورَةِ الَّتِي يُذْكَرُ فِيهَا كَذَا وَكَذَا وَإِذَا نَزَلَتْ عَلَيْهِ الآيَةُ فَيَقُولُ ضَعُوا هَذِهِ الآيَةَ فِي السُّورَةِ الَّتِي يُذْكَرُ فِيهَا كَذَا وَكَذَا وَكَانَتِ الأَنْفَالُ مِنْ أَوَائِلِ مَا أُنْزِلَتْ بِالْمَدِينَةِ وَكَانَتْ بَرَاءَةُ مِنْ آخِرِ الْقُرْآنِ وَكَانَتْ قِصَّتُهَا شَبِيهَةً بِقِصَّتِهَا فَظَنَنْتُ أَنَّهَا مِنْهَا فَقُبِضَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَلَمْ يُبَيِّنْ لَنَا أَنَّهَا مِنْهَا فَمِنْ أَجْلِ ذَلِكَ قَرَنْتُ بَيْنَهُمَا وَلَمْ أَكْتُبْ بَيْنَهُمَا سَطْرَ بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ فَوَضَعْتُهَا فِي السَّبْعِ الطُّوَلِ . قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ لاَ نَعْرِفُهُ إِلاَّ مِنْ حَدِيثِ عَوْفٍ عَنْ يَزِيدَ الْفَارِسِيِّ عَنِ ابْنِ عَبَّاسٍ . وَيَزِيدُ الْفَارِسِيُّ قَدْ رَوَى عَنِ ابْنِ عَبَّاسٍ غَيْرَ حَدِيثٍ وَيُقَالُ هُوَ يَزِيدُ بْنُ هُرْمُزَ وَيَزِيدُ الرَّقَاشِيُّ هُوَ يَزِيدُ بْنُ أَبَانَ الرَّقَاشِيُّ وَلَمْ يُدْرِكِ ابْنَ عَبَّاسٍ إِنَّمَا رَوَى عَنْ أَنَسِ بْنِ مَالِكٍ وَكِلاَهُمَا مِنَ التَّابِعِينَ مِنْ أَهْلِ الْبَصْرَةِ وَيَزِيدُ الْفَارِسِيُّ أَقْدَمُ مِنْ يَزِيدَ الرَّقَاشِيِّ .
Jami` at-Tirmidhi: Book 47, Hadith 138
This hadith clearly shows that the arrangement was not random. Instead, the Prophet ﷺ guided the scribes with precision and purpose.
The Role of Angel Jibreel (Gabriel)
Each year during Ramadan, Angel Jibreel would review the Quran with the Prophet ﷺ. In the final year, he reviewed it twice. This double review confirmed the final order of the Quran.
This is supported by a narration in Sahih Bukhari (Hadith 4998):
Narrated Abu-Huraira: Gabriel used to repeat the recitation of the Qur’an with the Prophet (ﷺ) once a year, but he repeated it twice with him in the year he died. The Prophet (ﷺ) used to stay in I`tikaf for ten days every year (in the month of Ramadan), but in the year of his death, he stayed in I`tikaf for twenty days.
حَدَّثَنَا خَالِدُ بْنُ يَزِيدَ، حَدَّثَنَا أَبُو بَكْرٍ، عَنْ أَبِي حَصِينٍ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ كَانَ يَعْرِضُ عَلَى النَّبِيِّ صلى الله عليه وسلم الْقُرْآنَ كُلَّ عَامٍ مَرَّةً، فَعَرَضَ عَلَيْهِ مَرَّتَيْنِ فِي الْعَامِ الَّذِي قُبِضَ، وَكَانَ يَعْتَكِفُ كُلَّ عَامٍ عَشْرًا فَاعْتَكَفَ عِشْرِينَ فِي الْعَامِ الَّذِي قُبِضَ {فِيهِ}
Sahih al-Bukhari: Book 66, Hadith 20
The repeated review in the final year established the order of verses and surahs we recite today.
Compilation After the Prophet ﷺ
After the Prophet’s ﷺ death, the companions preserved the Quran in a compiled form. However, they followed the same order the Prophet ﷺ taught them.
During Abu Bakr’s caliphate, Zayd ibn Thabit led the compilation. In Sahih al-Bukhari (Hadith 4986), Zayd said:
Narrated Zaid bin Thabit: Abu Bakr As-Siddiq sent for me when the people of Yamama had been killed (i.e., a number of the Prophet’s Companions who fought against Musailima). (I went to him) and found `Umar bin Al- Khattab sitting with him. Abu Bakr then said (to me), “`Umar has come to me and said: “Casualties were heavy among the Qurra’ of the Qur’an (i.e. those who knew the Qur’an by heart) on the day of the Battle of Yamama, and I am afraid that more heavy casualties may take place among the Qurra’ on other battlefields, whereby a large part of the Qur’an may be lost. Therefore I suggest, you (Abu Bakr) order that the Qur’an be collected.” I said to `Umar, “How can you do something which Allah’s Apostle did not do?” `Umar said, “By Allah, that is a good project.” `Umar kept on urging me to accept his proposal till Allah opened my chest for it and I began to realize the good in the idea which `Umar had realized.” Then Abu Bakr said (to me). ‘You are a wise young man and we do not have any suspicion about you, and you used to write the Divine Inspiration for Allah’s Messenger (ﷺ). So you should search for (the fragmentary scripts of) the Qur’an and collect it in one book.” By Allah If they had ordered me to shift one of the mountains, it would not have been heavier for me than this ordering me to collect the Qur’an. Then I said to Abu Bakr, “How will you do something which Allah’s Messenger (ﷺ) did not do?” Abu Bakr replied, “By Allah, it is a good project.” Abu Bakr kept on urging me to accept his idea until Allah opened my chest for what He had opened the chests of Abu Bakr and `Umar. So I started looking for the Qur’an and collecting it from (what was written on) palme stalks, thin white stones and also from the men who knew it by heart, till I found the last Verse of Surat at-Tauba (Repentance) with Abi Khuzaima Al-Ansari, and I did not find it with anybody other than him. The Verse is: ‘Verily there has come unto you an Apostle (Muhammad) from amongst yourselves. It grieves him that you should receive any injury or difficulty..(till the end of Surat-Baraa’ (at-Tauba) (9.128-129). Then the complete manuscripts (copy) of the Qur’an remained with Abu Bakr till he died, then with `Umar till the end of his life, and then with Hafsa, the daughter of `Umar.
حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، عَنْ إِبْرَاهِيمَ بْنِ سَعْدٍ، حَدَّثَنَا ابْنُ شِهَابٍ، عَنْ عُبَيْدِ بْنِ السَّبَّاقِ، أَنَّ زَيْدَ بْنَ ثَابِتٍ ـ رضى الله عنه ـ قَالَ أَرْسَلَ إِلَىَّ أَبُو بَكْرٍ مَقْتَلَ أَهْلِ الْيَمَامَةِ فَإِذَا عُمَرُ بْنُ الْخَطَّابِ عِنْدَهُ قَالَ أَبُو بَكْرٍ ـ رضى الله عنه ـ إِنَّ عُمَرَ أَتَانِي فَقَالَ إِنَّ الْقَتْلَ قَدِ اسْتَحَرَّ يَوْمَ الْيَمَامَةِ بِقُرَّاءِ الْقُرْآنِ وَإِنِّي أَخْشَى أَنْ يَسْتَحِرَّ الْقَتْلُ بِالْقُرَّاءِ بِالْمَوَاطِنِ، فَيَذْهَبَ كَثِيرٌ مِنَ الْقُرْآنِ وَإِنِّي أَرَى أَنْ تَأْمُرَ بِجَمْعِ الْقُرْآنِ. قُلْتُ لِعُمَرَ كَيْفَ تَفْعَلُ شَيْئًا لَمْ يَفْعَلْهُ رَسُولُ اللَّهِ صلى الله عليه وسلم قَالَ عُمَرُ هَذَا وَاللَّهِ خَيْرٌ. فَلَمْ يَزَلْ عُمَرُ يُرَاجِعُنِي حَتَّى شَرَحَ اللَّهُ صَدْرِي لِذَلِكَ، وَرَأَيْتُ فِي ذَلِكَ الَّذِي رَأَى عُمَرُ. قَالَ زَيْدٌ قَالَ أَبُو بَكْرٍ إِنَّكَ رَجُلٌ شَابٌّ عَاقِلٌ لاَ نَتَّهِمُكَ، وَقَدْ كُنْتَ تَكْتُبُ الْوَحْىَ لِرَسُولِ اللَّهِ صلى الله عليه وسلم فَتَتَبَّعِ الْقُرْآنَ فَاجْمَعْهُ فَوَاللَّهِ لَوْ كَلَّفُونِي نَقْلَ جَبَلٍ مِنَ الْجِبَالِ مَا كَانَ أَثْقَلَ عَلَىَّ مِمَّا أَمَرَنِي مِنْ جَمْعِ الْقُرْآنِ قُلْتُ كَيْفَ تَفْعَلُونَ شَيْئًا لَمْ يَفْعَلْهُ رَسُولُ اللَّهِ صلى الله عليه وسلم قَالَ هُوَ وَاللَّهِ خَيْرٌ فَلَمْ يَزَلْ أَبُو بَكْرٍ يُرَاجِعُنِي حَتَّى شَرَحَ اللَّهُ صَدْرِي لِلَّذِي شَرَحَ لَهُ صَدْرَ أَبِي بَكْرٍ وَعُمَرَ ـ رضى الله عنهما ـ فَتَتَبَّعْتُ الْقُرْآنَ أَجْمَعُهُ مِنَ الْعُسُبِ وَاللِّخَافِ وَصُدُورِ الرِّجَالِ حَتَّى وَجَدْتُ آخِرَ سُورَةِ التَّوْبَةِ مَعَ أَبِي خُزَيْمَةَ الأَنْصَارِيِّ لَمْ أَجِدْهَا مَعَ أَحَدٍ غَيْرَهُ {لَقَدْ جَاءَكُمْ رَسُولٌ مِنْ أَنْفُسِكُمْ عَزِيزٌ عَلَيْهِ مَا عَنِتُّمْ} حَتَّى خَاتِمَةِ بَرَاءَةَ، فَكَانَتِ الصُّحُفُ عِنْدَ أَبِي بَكْرٍ حَتَّى تَوَفَّاهُ اللَّهُ ثُمَّ عِنْدَ عُمَرَ حَيَاتَهُ ثُمَّ عِنْدَ حَفْصَةَ بِنْتِ عُمَرَ ـ رضى الله عنه ـ.
Sahih al-Bukhari: Book 66, Hadith 8
Zayd and the committee compiled the Quran exactly as the Prophet ﷺ had arranged it.
Conclusion – who arranged the surahs of the Quran?
The Prophet Muhammad ﷺ arranged the surahs of Quran, under divine guidance from Allah through Angel Jibreel. This arrangement was not the work of later generations. It was part of the revelation itself. After the Prophet’s ﷺ passing, the companions compiled the Quran into a single manuscript.
However, this was not the first form of preservation. The Quran had already been memorized completely by many companions during the Prophet’s ﷺ lifetime. This strong oral tradition ensured its exact transmission, word for word.
In addition to memorization, the Prophet ﷺ had scribes write down verses as they were revealed. These written pieces were recorded on materials like parchment, bone, and leather. They were later collected and verified during the compilation.
The companions did not alter the order. They followed exactly how the Prophet ﷺ instructed them, surah by surah, verse by verse. This structured and multi-layered process included divine revelation, oral memorization, written record, and verified compilation. It highlights the miraculous preservation of the Quran throughout Islamic history.
