مَرَرْتُ بِرَجُلٍ ضَارِبِ زَيْدٍ
Translation: I passed by a man who strikes Zayd.
رَجُلٍ: indefinite noun governed by bi- in the genitive.
ضَارِبِ: its genitive adjective, also mudāf.
زَيْدٍ: genitive mudāf ilayh, semantically the active participle’s object.
Despite the definite complement Zayd, this formal iḍāfah need not make the descriptor definite; hence it can qualify indefinite rajulin. This is an explanatory extension, not a quotation from the book.