The apostle of Allah ﷺ died, but he did not mention to us that surah al baraah ins a part of al-anfal. Abu Dawood said: Al-sha’bl, Abu Malik, Qatadah, and Thabit b. ‘Umarah said: The prophet( may peace be upon him) did not write”In the name of Allah, the compassionate, the merciful” until Surah al-naml was revealed. This is the meaning of what they said. Further, this is a mursal traditional(omitting the name of the companion)
فِيهِ فَقُبِضَ رَسُولُ اللَّهِ ﷺ وَلَمْ يُبَيِّنْ لَنَا أَنَّهَا مِنْهَا