Sensex and Nifty declined as higher crude oil prices and escalating Middle East tensions triggered broad-based selling across banking and auto.