Which device appears in “qawl al-imām, imām al-qawl”?

Verbal Embellishments: Resembling Endings, Jinas, Sajʿ, and Further Devices