Ayesha reported that when the Messenger of Allah ﷺ arrived in Medina, Abu Bakr and Bilal fell ill with fever.She said, "I went in to see them and asked, 'Father, how are you feeling? And Bilal, how are you feeling?'"Whenever the fever took hold of Abu Bakr, he would recite,"Every man is greeted by his family in the morning, yet death is closer to him than the strap of his sandal."And when the fever lifted from Bilal, he would raise his voice and recite,"Will I ever spend a night again in a valley with idhkhir and jalil grass around me? Will I one day come down to the waters of Majannah? Will Shamah and Tafil ever appear before my eyes?"Ayesha said, "So I came to the Messenger of Allah ﷺ and told him about it."He said, "O Allah, make Medina as beloved to us as Mecca, or even more so. Make it healthy for us, bless us in its sa and its mudd, and remove its fever, sending it to al-Juhfah."
لما قدم رسول الله ﷺ المدينة وعك أبو بكر وبلال، قالت: فدخلت عليهما، فقلت: يا أبت كيف تجدك، ويا بلال كيف تجدك، قالت: فكان أبو بكر إذا أخذته الحمى يقول: كل امرئ مصبح في أهله والموت أدنى من شراك نعله وكان بلال إذا أقلع عنه يرفع عقيرته ويقول: ألا ليت شعري هل أبيتن ليلة بواد وحولي إذخر وجليل وهل أردن يوما مياه مجنة وهل يبدون لي شامة وطفيل قالت عائشة: فجئت رسول الله ﷺ فأخبرته، فقال: (اللهم حبب إلينا المدينة كحبنا مكة أو أشد، وصححها، وبارك لنا في صاعها ومدها، وانقل حماها فاجعلها بالجحفة)
Malik narrated it in Kitab al-Jami (14), from Hisham bin Urwa, from his father, from Ayesha, and mentioned it. Bukhari also narrated it in the Chapter on Virtues (3926), through the route of Malik.The reports differ regarding the number of days he stayed in Quba. The most that has been said is twenty-two nights, and the least is from Monday to Friday. It was during this period that the masjid of Quba was founded.