[Machine] The Prophet ﷺ used to pray in the Mosque of the Tree when he went out to Makkah, and when he returned, he would pray in Dhul-Hulayfah in the belly of the valley and stay there until morning.
أَنَّ رَسُولَ اللهِ ﷺ كَانَ إِذَا خَرَجَ إِلَى مَكَّةَ صَلَّى فِي مَسْجِدِ الشَّجَرَةِ وَإِذَا رَجَعَ صَلَّى بِذِي الْحُلَيْفَةِ بِبَطْنِ الْوَادِي وَبَاتَ بِهَا حَتَّى يُصْبِحَ