وَإِذْ قَالَت طَّائِفَةٌ مِّنْهُمْ يَا أَهْلَ يَثْرِبَ لَا مُقَامَ لَكُمْ فَارْجِعُوا
“And when a faction of them said, "O people of Yathrib, there is no stability for you [here], so return [home]."”
The name Yathrib appears in the Qur'an only on the tongues of the munafiqun.