This poem is attributed to Imām Shāfiýī rađiyallāhu ánhū

ālu’n nabiyyi dharīátī
wa humū ilayhi wasīlatī
arjū bihim uúţā ghadin
bi yadi’l yamīni şaĥīfatī

The progeny of the Prophet are my means [of salvation]
And they are my means to reach Allah;
I hope, that for their sakes, I shall on the morrow –
Be given my account in my right hand.

Dīwān ash-Shāfiýī p.162; Nūr al-Abşār p.128; Manāqib ash-Shāfiýī of al-Bayhaqī 2/p.691; Manāqib ash-Shāfiýī of Fakhr ar-Rāzī p.51; Adab al-Luţf 1/p.217