وَحَدَّثَنِي مَالِكٌ، عَنْ عَلْقَمَةَ بْنِ أَبِي عَلْقَمَةَ، عَنْ أُمِّهِ، أَنَّهَا قَالَتْ سَمِعْتُ عَائِشَةَ، زَوْجَ النَّبِيِّ صلى الله عليه وسلم تَقُولُ ‏:‏ قَامَ رَسُولُ اللَّهِ صلى الله عليه وسلم ذَاتَ لَيْلَةٍ فَلَبِسَ ثِيَابَهُ ثُمَّ خَرَجَ - قَالَتْ - فَأَمَرْتُ جَارِيَتِي بَرِيرَةَ تَتْبَعُهُ، فَتَبِعَتْهُ حَتَّى جَاءَ الْبَقِيعَ، فَوَقَفَ فِي أَدْنَاهُ مَا شَاءَ اللَّهُ أَنْ يَقِفَ، ثُمَّ انْصَرَفَ فَسَبَقَتْهُ بَرِيرَةُ فَأَخْبَرَتْنِي، فَلَمْ أَذْكُرْ لَهُ شَيْئًا حَتَّى أَصْبَحَ ثُمَّ ذَكَرْتُ ذَلِكَ لَهُ فَقَالَ ‏:‏ ‏"‏ إِنِّي بُعِثْتُ إِلَى أَهْلِ الْبَقِيعِ لأُصَلِّيَ عَلَيْهِمْ ‏"‏ ‏.‏

Malik related to me from AIqama ibn Abi Alqama that his mothersaid that she had heard A'isha, the wife of the Prophet, may Allahbless him and grant him peace, say, "The Messenger of Allah, may Allahbless him and grant him peace, rose one night and put on his clothesand then went out. I ordered my slave-girl, Barira, to follow him, andshe followed him until he got to al-Baqi. He stood near it as long asAllah willed and then he left. Barira arrived back before him and toldme and I did not say anything to him until morning, and then Imentioned it to him and he explained, 'I was sent out to the people ofal-Baqi to pray for them.' " Translation Not Available

Book Ref: Muwatta Imam Malik Book 16 Hadith 579
Web Ref:  Muwatta Imam Malik Book 16 Hadith 57