Uthman reported,

The Messenger of Allah ﷺ would, over the course of time, have surahs of various lengths revealed to him. Whenever something was revealed to him, he would call one of those who used to write for him and say, "Place these verses in the surah in which such and such is mentioned." When a single verse was revealed to him, he would say, "Place this verse in the surah in which such and such is mentioned."Surat al-Anfal was among the first to be revealed in Madinah, while Surat Bara'ah was among the last of the Quran to be revealed. Its content resembled that of al-Anfal, so I thought it was part of it. The Messenger of Allah ﷺ passed away without making clear to us whether it was part of it. For that reason, I joined the two together and did not write a line of "Bismillah ar-Rahman ar-Rahim" between them, and I placed it among the seven long surahs.

Tirmidhi 3086

Hasan

حدثنا محمد بن بشار حدثنا يحيى بن سعيد ومحمد بن جعفر وابن أبي عدي وسهل بن يوسف قالوا حدثنا عوف بن أبي جميلة حدثنا يزيد الفارسي حدثنا ابن عباس قال قلت لعثمان بن عفان ما حملكم أن عمدتم إلى الأنفال وهي من المثاني وإلى براءة وهي من المئين فقرنتم بينهما ولم تكتبوا بينهما سطر بسم الله الرحمن الرحيم ووضعتموها في السبع الطول ما حملكم على ذلك

فقال عثمان

كان رسول الله ﷺ مما يأتي عليه الزمان وهو تنزل عليه السور ذوات العدد فكان إذا نزل عليه الشيء دعا بعض من كان يكتب فيقول ضعوا هؤلاء الآيات في السورة التي يذكر فيها كذا وكذا وإذا نزلت عليه الآية فيقول ضعوا هذه الآية في السورة التي يذكر فيها كذا وكذا وكانت الأنفال من أوائل ما أنزلت بالمدينة وكانت براءة من آخر القرآن وكانت قصتها شبيهة بقصتها فظننت أنها منها فقبض رسول الله ﷺ ولم يبين لنا أنها منها فمن أجل ذلك قرنت بينهما ولم أكتب بينهما سطر بسم الله الرحمن الرحيم فوضعتها في السبع الطول

الترمذي 3086حسن
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Tawbah
Numbering
Darussalam 3086
Tirmidhi 3086