22-23 Surely Allah will make those who believe and do good deeds enter Gardens wherein flow rivers — they are adorned therein with bracelets of gold and (with) pearls. And their garments therein are of silk.
إِنَّ ٱللَّهَ يُدْخِلُ ٱلَّذِينَ ءَامَنُوا۟ وَعَمِلُوا۟ ٱلصَّـٰلِحَـٰتِ جَنَّـٰتٍۢ تَجْرِى مِن تَحْتِهَا ٱلْأَنْهَـٰرُ يُحَلَّوْنَ فِيهَا مِنْ أَسَاوِرَ مِن ذَهَبٍۢ وَلُؤْلُؤًۭا ۖ وَلِبَاسُهُمْ فِيهَا حَرِيرٌۭ (۲۳)
22-24 And they are guided to pure words, and they are guided to the path of the Praised One.a
وَهُدُوٓا۟ إِلَى ٱلطَّيِّبِ مِنَ ٱلْقَوْلِ وَهُدُوٓا۟ إِلَىٰ صِرَٰطِ ٱلْحَمِيدِ (۲۴)
22-24a: The guidance mentioned in this verse is for life in this world and by طَيِّبِ مِنَ ٱلْقَوْلِ pure words is meant the affirmation of Divine Unity or confirmation of all things good. صِرَٰطِ ٱلْحَمِيدِ path of the Praised One is a descriptive compound, indicating a path that is commendable and involves performing good deeds of all kinds, because it is by acting on faith that one walks on this path. This verse shows that heaven is created of the good things one says and the good things one does. Some have taken حَمِيدِ in صِرَٰطِ ٱلْحَمِيدِ as the attributive name of Allah, and by the path of Allah is meant the path revealed by Him, which is Islam.
22-25 Those who disbelieve and hinder (men) from Allah’s way and from the Sacred Mosque, which We have made equally for all men, (for) the dweller therein and the visitor. And whoever inclines therein to wrong, unjustly, We shall make him taste of painful chastisement.a
إِنَّ ٱلَّذِينَ كَفَرُوا۟ وَيَصُدُّونَ عَن سَبِيلِ ٱللَّهِ وَٱلْمَسْجِدِ ٱلْحَرَامِ ٱلَّذِى جَعَلْنَـٰهُ لِلنَّاسِ سَوَآءً ٱلْعَـٰكِفُ فِيهِ وَٱلْبَادِ ۚ وَمَن يُرِدْ فِيهِ بِإِلْحَادٍۭ بِظُلْمٍۢ نُّذِقْهُ مِنْ عَذَابٍ أَلِيمٍۢ (۲۵)
22-25a: The verse makes it clear that this is an account of the disbelievers of Makkah whose evil acts stopped people from accepting Islam and worshipping in the Sacred Mosque. Their persecution of Muslims had reached its peak, which led to the Muslims leaving Makkah and fleeing elsewhere.
Sale and renting of houses in Makkah: While describing the sacredness of the Sacred Mosque, it is stated that Allah has made it equally for all, the Makkans and those traveling from elsewhere. Some people have concluded that it is not permissible to charge rent from pilgrims, and some have taken this further and held that selling houses in Makkah is also not permissible. However, according to Imam Shafi’i renting and selling houses in Makkah is permissible, and this appears to be the correct position. The verse only counters the act of the disbelievers who hindered the Muslims from the Sacred Mosque, by stating that the Mosque is made equally for residents and visitors, meaning that there should be unfettered access for all to come and worship in it. The sale of houses is proven from tradition and Caliph Umar, for example, purchased Darul Sajan. It must be conceded, however, that there are narrations suggesting the opposite as well. For example, a person installed a door to his house and Caliph Umar showed his displeasure and said to the person that you are denying pilgrims a place in your house. The man replied that he had installed the door to safeguard the possessions of the pilgrims. The most that can be derived from the above account is that it is the duty of anyone who has extra accommodation in his house to lodge the pilgrims. However, there is a saying of Ibn Umar that whoever charges rent for houses in Makkah puts fire in his belly. Logically, there is no reason why rent cannot be charged for a house that it is permissible to sell.
What is meant by مَن يُرِدْ فِيهِ بِإِلْحَادٍۭ بِظُلْمٍۢ whoever inclines therein to wrong unjustly: Refer to 16-103a for الحاد and the meaning of اَلۡحَدَ فلان is مال عن الحق (R) he inclined away from the truth or that he parted from the truth. The use of the word الحاد for Ka’bah means to prevent its purpose from being fulfilled, since Allah has made it a House for His worship and a place of refuge and a focal point for the people. Any person who prevents people from visiting is said to create الحاد in it. بِظُلْمٍۢ is added to draw attention to the injustices that were being inflicted on the Muslims. Other actions that have been included in the meaning of الحاد like associating partners with Allah, hoarding food grains, etc., can be included in من وجهٍ الحاد but are not the main purpose.