The son of Sayyiduna Abdullah bin Unays al-Juhani (may Allah be pleased with him) narrates from his father, who said: I said: O Messenger of Allah, I have a desert dwelling where I stay, and, praise be to Allah, I pray there; so command me (to come on) a night on which I may come down to this mosque. He (peace and blessings be upon him) said: "Come down on the twenty-third night." (Muhammad bin Ibrahim said:) I said to his son: What did your father use to do? He said: He would enter the mosque when he had prayed Asr, and would not leave it for any need until he had prayed Fajr; and when he had prayed Fajr, he would find his mount at the door of the mosque, sit on it and go back to his desert dwelling.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصيام / 8538