عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَا بَيْنَ الْمَشْرِقِ وَالْمَغْرِبِ قِبْلَةٌ» . رَوَاهُ التِّرْمِذِيُّ
Translation

He also reported God’s Messenger as saying, “If anyone comes to a mosque for a purpose, he will attain it.” Abu Dawud transmitted it.