It is narrated from Sayyiduna Imran bin Husayn (may Allah be pleased with him) that we were on a journey with the Prophet (peace and blessings be upon him), and he narrated the hadith about sleeping through the prayer, and said: When he (peace and blessings be upon him) woke up, we complained to him about what had befallen us. He (peace and blessings be upon him) said: "There is no harm" (Awf was in doubt whether he (peace and blessings be upon him) used the word dayr or darar). Then he (peace and blessings be upon him) said: "Set off from here," and he (peace and blessings be upon him) himself mounted and set off, but after going a short distance he (peace and blessings be upon him) dismounted and called for water; the people were called to the prayer, and then he (peace and blessings be upon him) led the people in prayer.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 1897