Mosques and places of Prayer - Section 1 Mishkat al-Masabih 692
Arabic hadith text
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «صَلَاةٌ فِي مَسْجِدِي هَذَا خَيْرٌ مِنْ أَلْفِ صَلَاةٍ فِيمَا سِوَاهُ إِلَّا الْمَسْجِدَ الْحَرَام»
Translation
Abu Huraira reported God’s Messenger as saying, “One prayer in this mosque of mine (i.e. the mosque in Medina) is better than a thousand elsewhere, except the sacred mosque.” (Bukhari and Muslim)