An-Noor • BN-TAFSEER-IBN-E-KASEER
﴿ فَإِن لَّمْ تَجِدُوا۟ فِيهَآ أَحَدًۭا فَلَا تَدْخُلُوهَا حَتَّىٰ يُؤْذَنَ لَكُمْ ۖ وَإِن قِيلَ لَكُمُ ٱرْجِعُوا۟ فَٱرْجِعُوا۟ ۖ هُوَ أَزْكَىٰ لَكُمْ ۚ وَٱللَّهُ بِمَا تَعْمَلُونَ عَلِيمٌۭ ﴾
“Hence, [even] if you find no one within [the house], do not enter it until you are given leave; and if you are told, “Turn back,” then turn back. This will be most conducive to your purity; and God has full knowledge of all that you do.”
Please check ayah 24:29 for complete tafsir.