Ibrāhīmu is vocative after yā.

The Two Explanatory Particles: Ay and An