(80) باب إِذَا كَانَ بَيْنَ الإِمَامِ وَبَيْنَ الْقَوْمِ حَائِطٌ أَوْ سُتْرَةٌ
Narrated `Aisha:
Allah's Messenger (ﷺ) 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 Allah's Messenger (ﷺ) 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.
Reference: Sahih al-Bukhari 729
In-book reference: Book 10, Hadith 123
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 11, Hadith 696