(وَعَنْهُ مِنْ طَرِيقٍ ثَانٍ) قَالَ: مَا كَانَ لِي مَبِيتٌ وَلَا مَأْوَى عَلَى عَهْدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ إِلَّا فِي الْمَسْجِدِ
The wording of the hadith narrated with the second chain is as follows: In the time of the Messenger of Allah (peace and blessings be upon him), I had no place to spend the night except the mosque, nor any other refuge.
Brief Explanation
Benefits: … Previously, similar ahadith have already been mentioned in the benefits and texts, which proves that there is no harm in sleeping in the mosque. The case of those performing i'tikaf (spiritual retreat) is also clear in this regard.