A Medinan surah (Arabic: سورة مدنية, romanized: Surah Madaniyah) of the Quran is one that was revealed at Medina after Muhammad's hijrah from Mecca. They are the latest 28 Suwar. The community was larger and more developed, in contrast to its minority position in Mecca.
The Medinan Surahs occur mostly at the beginning and in the middle of the Qur'an (but are said to be the last revealed surahs chronologically), and typically have more and longer ayat (verses). Due to the new circumstances of the early Muslim community in Medina, these surahs more often deal with details of moral principles, legislation, warfare (as in Surah 2, al-Baqara), and principles for constituting the community. They also refer more often to the community with "O people!" and at times directly address Muhammad or speak of him as "an agent acting in combination with the divine persona: 'God and his messenger' (Q 33:22)".