[Machine] The Messenger of Allah ﷺ did not know the ending of the Surah until "In the name of Allah, the Most Gracious, the Most Merciful" was revealed to him.
«مَا كَانَ رَسُولُ اللهِ ﷺ يَعْرِفُ خَاتِمَةَ السُّورَةِ حَتَّى يُنَزَّلَ عَلَيْهِ بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ»