مَرَرْتُ بِزَيْدٍ.
Translation: I passed by Zayd.
Grammatical analysis
مَرَرْتُ: past-tense verb; تُ is the subject pronoun.
بِـ: preposition (ḥarf jarr).
زَيْدٍ: genitive noun with a visible kasra.
The preposition بِـ governs the genitive here. Compare the same noun in its three forms: زَيْدٌ ← زَيْدًا ← زَيْدٍ.