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). (Using translation from Muslim 680b)
عَرَّسْنَا مَعَ النَّبِيِّ ﷺ فَلَمْ نَسْتَيْقِظْ حَتَّى طَلَعَتِ الشَّمْسُ فَقَالَ رَسُولُ اللهِ ﷺ لِيَأْخُذْ كُلُّ رَجُلٍ بِرَأْسِ رَاحِلَتِهِ فَإِنَّ هَذَا مَنْزِلٌ حَضَرَنَا فِيهِ الشَّيْطَانُ فَفَعَلْنَا ثُمَّ دَعَا بِالْمَاءِ فَتَوَضَّأَ ثُمَّ سَجَدَ سَجْدَتَيْنِ ثُمَّ أُقِيمَتِ الصَّلَاةُ فَصَلَّى الْغَدَاةَ