Sunan Abi Dawud
Hadith #1996
Narrated Muharrish al-Ka'bi: The Prophet (ﷺ) entered al-Ji'ranah. He came to the mosque (there) and prayed as long as Allah desired; he then wore ihram. Then he rode his camel and faced Batn Sarif till he reached the way which leads to Medina. He returned from Mecca (at night to al-Ji'ranah) as if he had passed the night at Mecca