كتاب الحج
15  
The Book of Pilgrimage
(77)
Chapter: It is recommended to stop in Batha' of Dhul-Hulaifah and pray there when departing from Hajj and 'Umrah, or any time one passes through it
(77)
باب التَّعْرِيسِ بِذِي الْحُلَيْفَةِ وَالصَّلاَةِ بِهَا إِذَا صَدَرَ مِنَ الْحَجِّ أَوِ الْعُمْرَةِ ‏‏
Sahih Muslim 1257 c

Abdullah b. 'Umar (Allah be pleased with them) reported that Allah's Messenger (ﷺ) made (his camel) kneel down (i, e. halt at the stony ground of Dhu'l-Hulaifa) and prayed there, and so did Abdullah b. Umar (Allah be pleased with them).

حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، قَالَ قَرَأْتُ عَلَى مَالِكٍ عَنْ نَافِعٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم أَنَاخَ بِالْبَطْحَاءِ الَّتِي بِذِي الْحُلَيْفَةِ فَصَلَّى بِهَا ‏.‏ وَكَانَ عَبْدُ اللَّهِ بْنُ عُمَرَ يَفْعَلُ ذَلِكَ ‏.‏
Reference : Sahih Muslim 1257c
In-book reference : Book 15, Hadith 486
USC-MSA web (English) reference : Book 7, Hadith 3120
  (deprecated numbering scheme)