In this account, the Messenger of Allah ﷺ said, "Move from the place where you were overcome by heedlessness." He then instructed Bilal, who gave the call to prayer and the second call, and the prayer was performed.
حدثنا موسى بن إسمعيل حدثنا أبان حدثنا معمر عن الزهري عن سعيد بن المسيب
في هذا الخبر قال فقال رسول الله ﷺ تحولوا عن مكانكم الذي أصابتكم فيه الغفلة قال فأمر بلالا فأذن وأقام وصلى
[Sahih] Bayhaqi narrated it, 2/218, from the hadith of Abu Dawud through his chain, and Abu Awana graded it sahih, 2/253, 254.