Book 2: The Masjid Quba (the Mosque of Quba)
Sahih al-Bukhari
Sahih al-Bukhari 1191
Ya'qub bin Ibrahim narrated to us, (he said: Isma'il) bin Ulayyah narrated to us. (He said:) Ayyub told us. It is narrated from Nafi that Hazrat Ibn Umar (ra) used to pray the forenoon prayer (Duha) on two days only. One was the day he came to Mecca, because he used to arrive in Mecca at forenoon; he would perform the circumambulation (Tawaf) of the House of Allah and then pray two Rak'ahs behind the Station of Abraham (Maqam Ibrahim). The other was the day he came to the Mosque of Quba; he used to come to it every week. When he entered the mosque, he disliked leaving it until he had prayed in it. Nafi said: And Hazrat Ibn Umar (ra) used to relate that the Messenger of Allah (saw) used to go to visit the Mosque of Quba, both riding and on foot.
AI-translated by Islam-Today
Sahih al-Bukhari 1192
(Nafi also) said: And (Hazrat Ibn Umar (ra)) used to say: I too do just as I saw my companions doing, and I do not forbid anyone to pray at whatever time he wishes, by night or by day, except that he should not deliberately pray at the time of the rising of the sun and of its setting.
AI-translated by Islam-Today