Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:729Muḥammad > ʿAbdah > Yaḥyá b. Saʿīd al-Anṣārī > ʿAmrah > ʿĀʾishah

Messenger of Allah ﷺ used to pray in his room at night. As the wall of the room was LOW, the people saw him and some of them stood up to follow him in the prayer. In the morning they spread the news. The following night the Prophet ﷺ stood for the prayer and the people followed him. This went on for two or three nights. Thereupon Messenger of Allah ﷺ did not stand for the prayer the following night, and did not come out. In the morning, the people asked him about it. He replied, that he way afraid that the night prayer might become compulsory.  

البخاري:٧٢٩حَدَّثَنَا مُحَمَّدٌ قَالَ أَخْبَرَنَا عَبْدَةُ عَنْ يَحْيَى بْنِ سَعِيدٍ الأَنْصَارِيِّ عَنْ عَمْرَةَ عَنْ عَائِشَةَ قَالَتْ

كَانَ رَسُولُ اللَّهِ ﷺ يُصَلِّي مِنَ اللَّيْلِ فِي حُجْرَتِهِ وَجِدَارُ الْحُجْرَةِ قَصِيرٌ فَرَأَى النَّاسُ شَخْصَ النَّبِيِّ ﷺ فَقَامَ أُنَاسٌ يُصَلُّونَ بِصَلاَتِهِ فَأَصْبَحُوا فَتَحَدَّثُوا بِذَلِكَ فَقَامَ لَيْلَةَ الثَّانِيَةِ فَقَامَ مَعَهُ أُنَاسٌ يُصَلُّونَ بِصَلاَتِهِ صَنَعُوا ذَلِكَ لَيْلَتَيْنِ أَوْ ثَلاَثَةً حَتَّى إِذَا كَانَ بَعْدَ ذَلِكَ جَلَسَ رَسُولُ اللَّهِ ﷺ فَلَمْ يَخْرُجْ فَلَمَّا أَصْبَحَ ذَكَرَ ذَلِكَ النَّاسُ فَقَالَ إِنِّي خَشِيتُ أَنْ تُكْتَبَ عَلَيْكُمْ صَلاَةُ اللَّيْلِ  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:5239[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > ʿAbdullāh b. Aḥmad b. Saʿd > Ibrāhīm b. Abū Ṭālib > Muḥammad b. Bishr al-Ḥarashī > ʿAbdah b. Sulaymān > Yaḥyá b. Saʿīd [Chain 2] Abū ʿAmr al-Adīb > Abū Bakr al-Ismāʿīlī > Abū Yaḥyá Muḥammad b. Yaḥyá al-Rūyānī > Ibrāhīm > Ibn Mūsá al-Farrāʾ > ʿĪsá > Ibn Yūnus > Yaḥyá > ʿAmrah > ʿĀʾishah

[Machine] The Messenger of Allah would pray in his room, and the wall of his room was short. So the people saw the Messenger of Allah and some of them began to offer prayers following his prayer. This continued for two or three nights until the Messenger of Allah sat down and did not come out. When morning came, the people mentioned this and he said, "I feared that the night prayer would become obligatory for you because of the words of Abu Amr."  

البيهقي:٥٢٣٩أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي عَبْدُ اللهِ بْنُ أَحْمَدَ بْنِ سَعْدٍ ثنا إِبْرَاهِيمُ بْنُ أَبِي طَالِبٍ ثنا مُحَمَّدُ بْنُ بِشْرٍ الْحَرَشِيُّ ثنا عَبْدَةُ بْنُ سُلَيْمَانَ عَنْ يَحْيَى بْنِ سَعِيدٍ ح وَأَخْبَرَنَا أَبُو عَمْرٍو الْأَدِيبُ أنبأ أَبُو بَكْرٍ الْإِسْمَاعِيلِيُّ أَخْبَرَنِي أَبُو يَحْيَى مُحَمَّدُ بْنُ يَحْيَى الرُّويَانِيُّ ثنا إِبْرَاهِيمُ هُوَ ابْنُ مُوسَى الْفَرَّاءُ أنبأ عِيسَى هُوَ ابْنُ يُونُسَ عَنْ يَحْيَى عَنْ عَمْرَةَ عَنْ عَائِشَةَ

أَنَّ رَسُولَ اللهِ ﷺ كَانَ يُصَلِّي فِي حُجْرَتِهِ وَجِدَارُ الْحُجْرَةِ قَصِيرٌ فَرَأَى النَّاسُ شَخَصَ رَسُولِ اللهِ ﷺ فَقَامَ نَاسٌ يُصَلُّونَ بِصَلَاتِهِ فَأَصْبَحُوا فَتَحَدَّثُوا فَقَامَ رَسُولُ اللهِ ﷺ يُصَلِّي فَقَامَ نَاسٌ يُصَلُّونَ بِصَلَاتِهِ فَصَنَعُوا ذَلِكَ لَيْلَتَيْنِ أَوْ ثَلَاثًا حَتَّى إِذَا كَانَ بَعْدَ ذَلِكَ جَلَسَ رَسُولُ اللهِ ﷺ لَمْ يَخْرُجْ فَلَمَّا أَصْبَحَ ذَكَرَ ذَلِكَ النَّاسُ فَقَالَ إِنِّي خِفْتُ أَنْ تُكْتَبَ عَلَيْكُمْ صَلَاةُ اللَّيْلِ لَفْظُ حَدِيثِ أَبِي عَمْرٍو  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ مُحَمَّدٍ عَنْ عَبْدَةَ وَفِي سِيَاقِ هَذِهِ الْأَحَادِيثِ دَلَالَةٌ عَلَى أَنَّ الْمُرَادَ بِالْحُجْرَةِ الْمُطْلَقَةُ فِي رِوَايَةِ هُشَيْمٍ عَنْ يَحْيَى بْنِ سَعِيدٍ وَفِي حَدِيثِ أَنَسِ بْنِ مَالِكٍ مَا وَقَعَ بَيَانُهُ فِي هَذِهِ الْأَحَادِيثِ وَفِي حَدِيثِ زَيْدِ بْنِ ثَابِتٍ دَلَالَةٌ عَلَى أَنَّ الْحُجْرَةَ كَانَتْ فِي الْمَسْجِدِ