Section 106(3) in The Naval Ceremonial, Conditions Of Service And Miscellaneous Regulations, 1964
(3)When being mustered by a Flag Officer, or Captain or by the officer in command of the ship, of whatever rank, all sailors below Petty Officer shall salute as they pass round.