The Messenger of Allah ﷺ said, "What lies between the east and the west is the qiblah."
قال رسول الله ﷺ: ما بين المشرق والمغرب قبلة.
No references are available.
Tirmidhi (342) and Ibn Majah (1011) both narrated it from the hadith of Abu Mashar, from Muhammad bin Amr, from Abu Salama, from Abu Hurairah, and he related it. Tirmidhi said, "Some of the scholars have criticized Abu Mashar regarding his memory. His name is Najih, the freedman of Banu Hashim. Muhammad said, 'I do not narrate anything from him.' But people have narrated from him."I say, Najih is Ibn Abdul-Rahman Sindi, considered daif by the majority of scholars. However, Ibn Adi said, "Reliable narrators have transmitted from him, and despite his weakness, his hadith is recorded."However, the hadith has come through another route, which is what Tirmidhi (344) narrated from Hasan bin Abu Bakr Marwazi, who said, Mualla bin Mansur told us, who said, Abdullah bin Jafar Makhzumi told us, from Uthman bin Muhammad Akhnasi, from Saeed Maqburi, from Abu Hurairah, from the Prophet ﷺ, and he related it. Tirmidhi said, "Hasan sahih." And it is reported from Bukhari that he said, "The hadith of Abdullah bin Jafar Makhzumi, from Uthman bin Muhammad Akhnasi, from Saeed Maqburi, from Abu Hurairah is stronger and more sahih than the hadith of Abu Mashar."I say, in it is Uthman bin Muhammad Akhnasi, about whom there is disagreement. Ibn Main and Bukhari deemed him reliable, while Nasai deemed him daif. I think this grading of daif is not absolute, but rather applies to his hadiths from Saeed bin Musayab, from Abu Hurairah. Ibn Madini said, "He narrated munkar hadiths from Saeed bin Musayab, from Abu Hurairah." Our hadith here is not from the narration of Saeed bin Musayab, and perhaps for that reason Tirmidhi ruled it hasan sahih. Scholars have said much about him, and this is the summary of it.If this is combined with the previous one, it becomes hasan, because there is nothing in his hadith that would be rejected.This ruling is specific to the people of Madinah and those on their latitude to the north and south, for their qiblah lies between the east and the west (Maghrib). As for what is narrated from Ibn Umar as a marfu report, "What is between the east and the west (Maghrib) is qiblah," the sahih view is that it is mawquf, attributed to Umar. A group of narrators, including Hammad bin Salama, Zaida bin Qudama, Yahya bin Saeed Qattan, and others, narrated it from Ubaydullah, from Nafi, from Ibn Umar, from Umar, as his own statement, as Bayhaqi said (9/2).Daraqutni (1061) and Hakim (1/206), and from him Bayhaqi (9/2), narrated it through the route of Yazid bin Harun, who said, Muhammad bin Abdul-Rahman bin Mujbir informed us, from Nafi, from Ibn Umar, from the Messenger of Allah ﷺ, and he related the hadith. Abu Zura was asked about this hadith, and he said, "This is a mistake. The hadith is the hadith of Ibn Umar, mawquf." Ilal by Ibn Abu Hatim (528). Bayhaqi said, "Ibn Mujbir alone narrated it."However, the hadith has another chain, which is what Daraqutni (1060) and Hakim, and from him Bayhaqi, recorded through the route of Yaqub bin Yusuf Wasiti, from Shuayb bin Ayub, who said, Abdullah bin Numayr told us, from Ubaydullah bin Umar, from Nafi, from Ibn Umar, (and he related the hadith). Hakim said, "Sahih according to the standard of the two Shaykhs (Bukhari and Muslim), for Shuayb bin Ayub is reliable, and he has given it a full chain of transmission." However, Bayhaqi said, "Yaqub bin Yusuf Khallal alone narrated it, while what is well known is the narration of the group..." and he related it as previously mentioned.He also said, "It has been narrated from Abu Hurairah as a marfu report. It has also been narrated from Yahya bin Abu Kathir, from Abu Qilaba, from the Prophet ﷺ, as a mursal report. And it has been narrated from Ali and Ibn Abbas as their own statements. What is meant by it is the people of Madinah and those whose qiblah is aligned with the direction of the people of Madinah, that is, between the east and the west (Maghrib). Their qiblah direction is to be sought, and then its precise point is to be sought." End of quote.