Sahih al-Bukhari, Book 25, Hadith 159 (In-Book)

Narrated `Abdullah: (the slave of Asma') During the night of Jam', Asma' got down at Al-Muzdalifa and stood up for (offering) the prayer and offered the prayer for some time and then asked, "O my son! Has the moon set?" I replied in the negative and she again prayed for another period and then asked, "Has the moon set?" I replied, "Yes." So she said that we should set out (for Mina), and we departed and went on till she threw pebbles at the Jamra (Jamrat-Al-`Aqaba) and then she returned to her dwelling place and offered the morning prayer. I asked her, "O you! I think we have come (to Mina) early in the night." She replied, "O my son! Allah's Messenger gave permission to the women to do so."

حَدَّثَنَا مُسَدَّدٌ، عَنْ يَحْيَى، عَنِ ابْنِ جُرَيْجٍ، قَالَ حَدَّثَنِي عَبْدُ اللَّهِ، مَوْلَى أَسْمَاءَ عَنْ أَسْمَاءَ، أَنَّهَا نَزَلَتْ لَيْلَةَ جَمْعٍ عِنْدَ الْمُزْدَلِفَةِ، فَقَامَتْ تُصَلِّي، فَصَلَّتْ سَاعَةً، ثُمَّ قَالَتْ يَا بُنَىَّ هَلْ غَابَ الْقَمَرُ قُلْتُ لاَ‏.‏ فَصَلَّتْ سَاعَةً، ثُمَّ قَالَتْ هَلْ غَابَ الْقَمَرُ قُلْتُ نَعَمْ‏.‏ قَالَتْ فَارْتَحِلُوا‏.‏ فَارْتَحَلْنَا، وَمَضَيْنَا حَتَّى رَمَتِ الْجَمْرَةَ، ثُمَّ رَجَعَتْ فَصَلَّتِ الصُّبْحَ فِي مَنْزِلِهَا‏.‏ فَقُلْتُ لَهَا يَا هَنْتَاهْ مَا أُرَانَا إِلاَّ قَدْ غَلَّسْنَا‏.‏ قَالَتْ يَا بُنَىَّ، إِنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم أَذِنَ لِلظُّعُنِ‏.‏

sunnah.com