Surat Al-Baqarah was revealed in Al-Madinah
There is no disagreement over the view that Surat Al-Baqarah was revealed in its entirety in Al-Madinah. Moreover, Al-Baqarah was one of the first Surahs to be revealed in Al-Madinah, while, Allah's statement,
[وَاتَّقُواْ يَوْمًا تُرْجَعُونَ فِيهِ إِلَى اللَّهِ]
(And be afraid of the Day when you shall be brought back to Allah.) (2:281) was the last Ayah to be revealed from the Qur'an. Also, the Ayat about usury were among the last Ayat to be revealed. Khalid bin Ma`dan used to call Al-Baqarah the Fustat (tent) of the Qur'an. Some of the scholars said that it contains a thousand news incidents, a thousand commands and a thousand prohibitions. Those who count said that the number of Al-Baqarah's Ayat is two hundred and eighty-seven, and its words are six thousand two hundred and twenty-one words. Further, its letters are twenty-five thousand five hundred. Allah knows best.
Ibn Jurayj narrated that `Ata' said that Ibn `Abbas said, "