كتاب الحج
15  
The Book of Pilgrimage
(47)
Chapter: Departing from 'Arafat to Al-Muzdalifah. It is recommended to pray Maghrib and 'Isha together in Al-Muzdalifah on this night
(47)
باب الإِفَاضَةِ مِنْ عَرَفَاتٍ إِلَى الْمُزْدَلِفَةِ وَاسْتِحْبَابِ صَلاَتَىِ الْمَغْرِبِ وَالْعِشَاءِ جَمْعًا بِالْمُزْدَلِفَةِ فِي هَذِهِ اللَّيْلَةِ
Sahih Muslim 1280 d

Usama b. Zaid (Allah be pleased with him) narrated:

AHah's Messenger (ﷺ) was on his way back from 'Arafat and as he reached the creek (of a hillock) he got down and urinated (Usama did not say that he poured water), but said: He (the Holy Prophet) called for water and performed ablution, but it was not a thorough one. I said: Messenger of Allah, the prayer! Thereupon he said: Prayer awaits you ahead (at Muzdalifa). He then proceeded, until he reached Muzdalifa and observed sunset and 'Isha' prayers (together) there.
وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، قَالَ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ الْمُبَارَكِ، ح وَحَدَّثَنَا أَبُو كُرَيْبٍ - وَاللَّفْظُ لَهُ - حَدَّثَنَا ابْنُ الْمُبَارَكِ، عَنْ إِبْرَاهِيمَ بْنِ عُقْبَةَ، عَنْ كُرَيْبٍ، مَوْلَى ابْنِ عَبَّاسٍ قَالَ سَمِعْتُ أُسَامَةَ بْنَ زَيْدٍ، يَقُولُ أَفَاضَ رَسُولُ اللَّهِ صلى الله عليه وسلم مِنْ عَرَفَاتٍ فَلَمَّا انْتَهَى إِلَى الشِّعْبِ نَزَلَ فَبَالَ - وَلَمْ يَقُلْ أُسَامَةُ أَرَاقَ الْمَاءَ - قَالَ فَدَعَا بِمَاءٍ فَتَوَضَّأَ وُضُوءًا لَيْسَ بِالْبَالِغِ - قَالَ - فَقُلْتُ يَا رَسُولَ اللَّهِ الصَّلاَةَ ‏.‏ قَالَ ‏ "‏ الصَّلاَةُ أَمَامَكَ ‏"‏ ‏.‏ قَالَ ثُمَّ سَارَ حَتَّى بَلَغَ جَمْعًا فَصَلَّى الْمَغْرِبَ وَالْعِشَاءَ ‏.‏
Reference : Sahih Muslim 1280d
In-book reference : Book 15, Hadith 306
USC-MSA web (English) reference : Book 7, Hadith 2943
  (deprecated numbering scheme)