When Vatican Council II is interpreted rationally, Ad Gentes 7 says all need faith and baptism for salvation. All.
We have now discovered that LG 8, 14, 16, UR 3, NA 2, GS 22 etc in Vatican Council II refer to hypothetical and invisble cases. So they do not contradict AG 7 or the dogma exrtra ecclesiam nulla salus.
So Vatican Council II (AG 7) is telling us that the Imam and Muslims in general are oriented to Hell without 'faith and baptism' and outside the Catholic Church there is no known salvation ( AG 7, CCC 845,8246).
Mohammad knew about Jesus and the Catholic Church and yet he did not enter. The Council confirms ( LG 14) that he cannot be saved.
There are good things in other religions but the religions are not paths to salvation.The Holy Spirit can choose to work outside the visible boundaries of the Catholic Church but salvation is restricted to only Jesus' Mystical Body, the Roman Catholic Church.