He served in the second war in 1965 and Western front of third war with India in 1971, having commanding the "SX-404-class" submarine as a Lieutenant-Commander. In 1971, Lt-Cdr. Naqvi successfully spied on Indian Navy's movement, notably the and .