Permission to enter is to be asked three times. If permission is given to you, then enter, otherwise leave. Bukhari, Muslim