[Machine] When the immigrants increased in the city and they had no home or shelter, the Messenger of Allah ﷺ accommodated them in the mosque and called them the people of As-Suffah. He used to sit with them and enjoy their company. Sa'id ibn Al-Musayyib narrated that he was asked about sleeping in the mosque, so he said, "Where were the people of As-Suffah?" Meaning, they used to sleep in it.
لَمَّا كَثُرَ الْمُهَاجِرُونَ بِالْمَدِينَةِ وَلَمْ يَكُنْ لَهُمْ دَارٌ وَلَا مَأْوًى أَنْزَلَهُمْ رَسُولُ اللهِ ﷺ الْمَسْجِدَ وَسَمَّاهُمْ أَصْحَابَ الصُّفَّةِ فَكَانَ يُجَالِسُهُمْ وَيَأْنَسُ بِهِمْ وَرُوِّينَا عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ أَنَّهُ سُئِلَ عَنِ النَّوْمِ فِي الْمَسْجِدِ فَقَالَ فَأَيْنَ كَانَ أَهْلُ الصُّفَّةِ؟ يَعْنِي يَنَامُونَ فِيهِ