Which word is the preposition in مَرَرْتُ بِالْقَاضِي?

Noun Case Class 8 — The Manqūṣ Noun