Rākibun must be accusative inside the circumstantial clause.

Al-Ḥāl: Definition, Its Referent, Governing Element and Types