Mishkat al-Masabih 1005
وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُصَلِّي تَطَوُّعًا وَالْبَابُ عَلَيْهِ مُغْلَقٌ فَجِئْتُ فَاسْتَفْتَحْتُ فَمَشَى فَفَتَحَ لِي ثُمَّ رَجَعَ إِلَى مُصَلَّاهُ وَذَكَرْتُ أَنَّ الْبَابَ كَانَ فِي الْقِبْلَةِ. رَوَاهُ أَحْمَدُ وَأَبُو دَاوُد وَالتِّرْمِذِيّ وروى النَّسَائِيّ نَحوه
From ʿAʾishah, may Allah be pleased with her, who said: The Messenger of Allah ﷺ was praying a voluntary prayer with the door locked. I came and asked for it to be opened, so he walked and opened it for me, then went back to his place of prayer. She mentioned that the door was in the direction of the qiblah. Reported by Ahmad, Abu Dawud and at-Tirmidhi, and an-Nasaʾi reported something similar.