Section 105(2)(e) in The Naval Ceremonial, Conditions Of Service And Miscellaneous Regulations, 1964
(e)The senior officer or sailor in a vehicle, whether driver or passenger, shall salute when passing a senior officer, the remaining passengers in the vehicle meanwhile sitting to attention.