Ayesha said, "Shall I tell you about myself and the Prophet ﷺ?"We said, "Yes, please."She said, "On the night that was my turn with the Prophet ﷺ, he came back, placed his sandals near his feet, and laid the edge of his lower garment on his bed. He waited only long enough to think I had fallen asleep, then he quietly put on his sandals, quietly took his cloak, quietly opened the door, and quietly went out. I put my shift over my head, covered my hair, wrapped my lower garment around me, and set out after him until he reached al-Baqi. He raised his hands three times, standing for a long while, then he turned to leave. I turned as well. He walked quickly, so I walked quickly. He jogged, so I jogged. He broke into a run, so I ran. I outpaced him and got back first. I had barely lain down when he entered.He said, "What is the matter with you, Ayesha, breathing so heavily and your sides heaving?"I said, "Nothing."He said, "You will tell me, or the Subtle, the All-Aware will tell me."I said, "Messenger of Allah, may my father and mother be ransom for you," and I told him what had happened.He said, "So you were the dark figure I saw in front of me?"I said, "Yes."He gave me a shove in the chest that hurt me, then said, "Did you think that Allah and His Messenger would be unjust to you?"I said, "Whatever people conceal, Allah knows it."He said, "Jibreel came to me when you saw me, but he did not enter because you had taken off your clothes. He called to me, keeping his voice low so as not to be heard by you, and I answered him, also keeping my voice low so as not to be heard by you. I thought you had fallen asleep, and I disliked waking you and feared you would be frightened to be alone. He instructed me to go to al-Baqi and seek forgiveness for them."I said, "What should I say, Messenger of Allah?"He said, "Say, 'Peace be upon the inhabitants of these dwellings from among the believers and the Muslims. May Allah have mercy on those of us who have gone ahead and those who are to follow. We will, Allah willing, join you.'"
أخبرنا يوسف بن سعيد قال حدثنا حجاج عن ابن جريج قال أخبرني عبد الله بن أبي مليكة أنه سمع محمد بن قيس بن مخرمة يقول
تحدث قالت ألا أحدثكم عني وعن النبي ﷺ قلنا بلى قالت لما كانت ليلتي التي هو عندي تعني النبي ﷺ انقلب فوضع نعليه عند رجليه وبسط طرف إزاره على فراشه فلم يلبث إلا ريثما ظن أني قد رقدت ثم انتعل رويدا وأخذ رداءه رويدا ثم فتح الباب رويدا وخرج رويدا وجعلت درعي في رأسي واختمرت وتقنعت إزاري وانطلقت في إثره حتى جاء البقيع فرفع يديه ثلاث مرات فأطال ثم انحرف فانحرفت فأسرع فأسرعت فهرول فهرولت فأحضر فأحضرت وسبقته فدخلت فليس إلا أن اضطجعت فدخل فقال ما لك يا عائشة حشيا رابية قالت لا قال لتخبرني أو ليخبرني اللطيف الخبير قلت يا رسول الله بأبي أنت وأمي فأخبرته الخبر قال فأنت السواد الذي رأيت أمامي قالت نعم فلهزني في صدري لهزة أوجعتني ثم قال أظننت أن يحيف الله عليك ورسوله قلت مهما يكتم الناس فقد علمه الله قال فإن جبريل أتاني حين رأيت ولم يدخل علي وقد وضعت ثيابك فناداني فأخفى منك فأجبته فأخفيته منك فظننت أن قد رقدت وكرهت أن أوقظك وخشيت أن تستوحشي فأمرني أن آتي البقيع فأستغفر لهم قلت كيف أقول يا رسول الله قال قولي السلام على أهل الديار من المؤمنين والمسلمين يرحم الله المستقدمين منا والمستأخرين وإنا إن شاء الله بكم لاحقون
Muslim narrated it in the Book of Funerals, chapter on what is said upon entering graveyards and supplicating for their people, hadith no. 974/102, from the hadith of Muhammad bin Qays, through him, and it is in Al-Kubra, hadith no. 2164.