(15) The Book of Pilgrimage
كتاب الحج
(88) Chapter: Al-Madinah eliminates its Dross and it is also called Tabah, and Taibah
(88) باب الْمَدِينَةِ تَنْفِي شِرَارَهَا ‏‏
Sahih Muslim 1385 

Jabir b. Samura (Allah be pleased with him) reported that he heard Allah's Messenger (ﷺ) say:

Allah named Medina as Tabba.
وَحَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، وَهَنَّادُ بْنُ السَّرِيِّ، وَأَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ قَالُوا حَدَّثَنَا أَبُو الأَحْوَصِ، عَنْ سِمَاكٍ، عَنْ جَابِرِ بْنِ سَمُرَةَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ إِنَّ اللَّهَ تَعَالَى سَمَّى الْمَدِينَةَ طَابَةَ ‏"‏ ‏.‏
Reference : Sahih Muslim 1385
In-book reference : Book 15, Hadith 561
USC-MSA web (English) reference : Book 7, Hadith 3193
  (deprecated numbering scheme)