The Prophet (ﷺ) said: When one has a look into the house, then there is no (need of) permission.
Sunan Abi Dawud Book 43, Hadith 401