Anas bin Malik reported,

The Messenger of Allah ﷺ entered the mosque and saw a rope stretched between two pillars. He asked, "What is this rope?"They replied, "It belongs to Zaynab. She prays, and when she grows weary, she holds onto it."The Prophet ﷺ said, "Untie it. Let one of you pray as long as he is energetic, and when he grows tired, let him sit down."

Nasai 1644

Sahih

أخبرنا عمران بن موسى عن عبد الوارث قال حدثنا عبد العزيز

عن أنس بن مالك

أن رسول الله ﷺ دخل المسجد فرأى حبلا ممدودا بين ساريتين فقال ما هذا الحبل فقالوا لزينب تصلي فإذا فترت تعلقت به فقال النبي ﷺ حلوه ليصل أحدكم نشاطه فإذا فتر فليقعد

النسائي 1644صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Night prayer and voluntary prayers of the day
Chapter
Differences regarding Ayesha on staying up at night
Numbering
Darussalam 1644
Nasai 1644