Sahih Muslim , Book 5, Hadith 397 (In-Book)

Abu Huraira reported: We stopped for rest along with the Messenger of Allah and did not awake till the sun rose. The Apostle of Allah then told us that everybody should take hold of his camel's nosestring (get out of this ground) for it was the place where devil had visited us. We did accordingly. He then called for water and performed ablution and then performed two prostrations. Ya'qub said: Then he prayed (performed) two prostrations. then takbir was pronounced for prayer and then he offered the morning prayer (in congregation).

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

sunnah.com