٨٧. وَأَوْحَيْنَآ إِلَىٰ مُوسَىٰ وَأَخِيهِ أَن تَبَوَّءَا لِقَوْمِكُمَا بِمِصْرَ بُيُوتًا وَٱجْعَلُوا۟ بُيُوتَكُمْ قِبْلَةً وَأَقِيمُوا۟ ٱلصَّلَوٰةَ ۗ وَبَشِّرِ ٱلْمُؤْمِنِينَ
[87] And We inspired Moses and his brother: "Provide some houses for your people in Egypt, and make those houses of yours as qiblah, and establish Salat84 and fill the Believers with hope and courage."85
84There is a difference of opinion among the Commentators in regard to the meaning of this verse. As for me, I have considered deeply its wording and the circumstances under which this was sent down, and have come to the conclusion that Prophet Moses was commanded to build or acquire some houses for the establishment of Salat in congregation This was necessitated because the system of Salat in congregation had been abandoned by the Israelites and the Egyptian Muslims as a result of their persecution by the government, and owing to the weakness of their faith. As this had brought about their disintegration and killed their religious spirit, it was essential to re-establish the system of Salat in congregation, which is indeed the first and foremost thing for the revival of that spirit and the integration of a scattered Muslim community and its powers.
As regards " .... appoint your houses as qiblah", I am of the opinion that it means:".... set apart these houses as common places of worship for offering Salat in congregation and the central places for holding their meetings. That is why it is followed by 'and establish Salat'," which means that they should offer their Salat collectively in congregation instead of individually.
85The Arabic word (bashshir) means: "Fill them with hope and courage by giving them the good news of success by the grace of Allah. " And they needed that very badly at that time, for they were full of despair, fear and depression.