The Prophet ﷺ entered the mosque and saw a rope stretched between two pillars. Ibn Abu Adi said, in the mosque. He asked about it, and they said, "It belongs to so-and-so, a woman who prays. When she becomes overcome with fatigue, she holds onto it."He said, "Let her pray as long as she is alert, and when she becomes overcome, let her sleep."
حدثنا معاذ بن معاذ حدثنا حميد الطويل وابن أبي عدي عن حميد الطويل
أن النبي ﷺ دخل المسجد فرأى حبلا ممدودا بين ساريتين قال ابن أبي عدي في المسجد فسأل عنه فقالوا فلانة تصلي فإذا غلبت تعلقت به فقال لتصل ما عقلت فإذا غلبت فلتنم
Its isnad is sahih. Ibn Abu Adi in the second route is Muhammad bin Abu Adi, though it is said his name was Muhammad bin Ibrahim bin Abu Adi, and he is attributed to his grandfather. He is trustworthy, and the hadith has preceded at 12850.