A pharmaceutical product for treating ankylosing spondylitis for combined immunodeficiency which is prepared from a Rosa roxbunghii extract, an Artemisia argyi extract, a hippocampus extract, and a Corydalis Rhizoma extract in a weight ratio of (1-10):(0.5-2):1:(1-10) by supercritical fluid extraction. The pharmaceutical product facilitates in vivo dissolution and human body absorption.