Sunan Abu Dawud #1773
The Rites of Hajj (Kitab Al-Manasik Wa'l-Hajj) 11:53
Anas said :
Messenger of Allah (SWAS) prayed four rak’ahs at Madinah and prayed two rak’ahs of afternoon prayer at Dhu-al Hulaifah. He then passed the night at Dhu-al Hulaifah till the morning came. When he rode on his mount and it stood up on its back, he raised his voice in talbiyah.