Root م د ن(m d n) has 4 unique word forms and appears 27 times in the Quran.

English gloss Town, City, Medina, Urban, Civil, Civilized

Word Translation Occurrences
ٱلۡمَدِينَةِ Al-Madinah, (of) the city, (of) the Madinah, of the Madinah, Al-Madinah, of the Madinah, the city, the town, (of) the city, (of) the Madinah, the city, the town 26
مَدۡيَنَ Madyan, (of) Madyan, Madyan, (of) Madyan 16
ٱلۡمَدَآئِنِ the cities, the cities 6
لِّمَدۡيَنَ with Madyan, with Madyan 2
ٱلۡمَدِينَةَ the city, the city 2
مَدۡيَنَۖ (of) Madyan, (of) Madyan 2