[Machine] About the Prophet ﷺ , it is narrated from Ali and Ibn Abbas from their saying, and the intended meaning, Allah knows best, is the people of Madinah and whoever had their qiblah (direction of prayer) towards the people of Madinah, in the area between the East and the West, would seek their qiblah and then look towards it.
عَنِ النَّبِيِّ ﷺ مُرْسَلًا وَرُوِيَ عَنْ عَلِيٍّ وَابْنِ عَبَّاسٍ مِنْ قَوْلِهِمَا وَالْمُرَادُ بِهِ وَاللهُ أَعْلَمُ أَهْلَ الْمَدِينَةِ وَمَنْ كَانَ قِبْلَتُهُ عَلَى سَمْتِ أَهْلِ الْمَدِينَةِ فِيمَا بَيْنَ الْمَشْرِقِ وَالْمَغْرِبِ يَطْلُبُ قِبْلَتَهُمْ ثُمَّ يَطْلُبُ عَيْنَهَا