These verses are attributed to Sayyidunā Álī rađiyallāhu ánhū.

rađītu bimā qasamAllāhu lī
wa fawwađtu amrī ilā khāliqī
laqad aĥsanAllāhu fīmā qađā
kadhālika yuĥsinu fīmā baqī

I am pleased with what Allāh has granted me,
And I have entrusted all my affairs to my Creator –
He has made everything beautiful in the past,
And everything remaining shall be made beautiful until last.