The last surah revealed was al-Maidah.
حدثنا قتيبة حدثنا عبد الله بن وهب عن حيي عن أبي عبد الرحمن الحبلي
آخر سورة أنزلت المائدة
Grading, [its chain of transmission is hasan]. Hakim reported it (2/311), and Bayhaqi (72/127), from the hadith of Ibn Wahb with the same chain, and Hakim graded it sahih according to the criteria of the two Shaykhs, and Dhahabi agreed with him.Hubayy is Ibn Abdullah. The hadith has corroborating narrations in Muslim, hadith no. 3024, and in Nasai's Kubra, hadith no. 11138, and elsewhere.Bayhaqi said, "These differences can be reconciled by understanding that each of them was correct according to what he had."