The Rites of Hajj (Kitab Al-Manasik Wa'l-Hajj)
كتاب المناسك
Chapter 98: Regarding The Sacredness Of Al-Madinah
Ibn ‘Umar said “The Apostle of Allaah(ﷺ) used to visit Quba on foot and riding. Ibn Numair added “and he used to offer two rak’ahs of prayer.”
Chapter 99: Visiting Graves
The Prophet (ﷺ) said: If any one of you greets me, Allah returns my soul to me and I respond to the greeting.
The Prophet (ﷺ) said: Do not make your houses graves, and do not make my grave a place of festivity. But invoke blessings on me, for your blessings reach me wherever you may be.
Rabi'ah ibn al-Hudayr said: I did not hear Talhah ibn Ubaydullah narrating any tradition from the Messenger of Allah (ﷺ) except one tradition. I (Rabi'ah ibn AbuAbdurRahman) asked: What is that? He said: We went out along with the Messenger of Allah (ﷺ) who was going to visit the graves of the martyrs. When we ascended Harrah Waqim, and then descended from it, we found there some graves at the turning of the valley. We asked: Messenger of Allah, are these the graves of our brethren? He replied: Graves of our companions. When we came to the graves of martyrs, he said: These are the graves of our brethren.
Nafi’ reported on the authority of ‘Abd Allah bin ‘Umar “The Apostle of Allaah(ﷺ) made his Camel kneel down at Al Batha which lies in Dhu Al Hulaifa and prayed there. Abd Allah bin ‘Umar too used to do so.”
One should not exceed al-Mu'arras when one returns to Medina until one prays there as much as one wishes, for I have been informed that the Messenger of Allah (ﷺ) halted there at night.
Abu Dawud said: I heard Muhammad b. Ishaq al-Madini say: Al-Mu'arras lies at a distance of six miles from Medina.