Ghulāmuhu rākibun is internally a nominal clause (topic + predicate).
When embedded after “Zayd came,” it describes the circumstances of Zayd’s arrival and functions as a ḥāl clause.
Distinguish the clause’s internal grammar from its external accusative function.