Prophet Hud - 11:107
They will abide therein as long as the heavens and the earth endure, except if your Lord wills. Your Lord is the Doer of whatever He wills
Related:
The Cattle/6:128
"On the Day when He will gather them all together: "O people of the jinn, you have wasted a great number of men". Their friends from among mankind: "Our Lord, we enjoyed each other until we reached the end of the term You gave us". He will say: "Your abode is the Fire."They will abide therein forever, except Allah wills. Your Lord is Wise, Knowing."