قال الله تعالى: فصبر جميل
God said: “Then beautiful patience.”
As presented here, this is an explicit source attribution. Its communicative purpose is to report a text.
إن كنت أزمعت على هجرنا من غير ما جرم فصبر جميل
If you have resolved to leave us without cause, then beautiful patience is the response.
In this second sentence, the same scriptural words complete a newly composed poetic thought. That makes their literary function iqtibās. Shared words alone do not settle the classification; use and framing matter.