Muhammad III was the Shirvanshah from 981 to 991. He was the son and successor of Ahmad (r. 956–981).