Abdullah bin Abbas reported,

The Prophet ﷺ would not know where one surah ended and another began until "In the name of Allah, the Most Gracious, the Most Merciful" [Fatihah 1:1] was revealed to him.In another narration, when it was revealed, he knew that the previous surah had concluded and that another surah had begun.

Azami 11772

Sahih

عن ابن عباس قال

كان النبي ﷺ لا يعرف فصل السورة حتى تنزل عليه {بسم الله الرحمن الرحيم} وفي رواية: فإذا نزلت عرف أن السورة قد ختمت، واستقبلت-أو ابتدئت- سورة أخرى.

الأعظمي 11772صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sciences of the Quran and its virtues
Chapter
Sciences of the Quran
Section
Basmala is the separator between two surahs
Numbering
Jami al-Kamil 11772 (2nd edition)
Azami 11772