Allah's Statement: "Freedom from (all) obligations (is declared) from Allah and His Messenger ﷺ to those of the Mushrikin [polytheists, pagans, idolaters, disbelievers in the Oneness of Allah and in His Messenger Muhammad ﷺ] with whom you made a treaty." (V.9:1)
Authentic
hadith of Sahih al-Bukhari
Companion’s words (mawquf)Sahih al-Bukhari 4654
The last Verse that was revealed was: 'They ask you for a legal verdict: Say: Allah directs (thus) about Al-Kalalah (those who leave no descendants or ascendants as heirs).' And the last Sura which was revealed was Baraatun (9) .
Reported by Al-Bukhari (No. 4654, 4364, 4605, 6744).