Gravity is curvarure of spacetime.
There are three possibilities to how the universe could end: Big Rip, Big Crunch or Big Chill. NASA already ruled out the first scenario (No Big Rip; see also: Universe Today). This leaves the universe with only two possible endings: Big Crunch or Big Chill.
Stephen Hawking's proposal predicted that the Universe would eventually stop expanding and collapse in on itself (Big Crunch).
Here's Stephen Hawking's final theory about the Big BangLastly, it predicted that the Universe would eventually stop expanding and collapse in on itself.
In the Quran God promises to make the Big Crunch:
١٨٧ يَسْأَلُونَكَ عَنِ السَّاعَةِ أَيَّانَ مُرْسَاهَا ۖ قُلْ إِنَّمَا عِلْمُهَا عِنْدَ رَبِّي ۖ لَا يُجَلِّيهَا لِوَقْتِهَا إِلَّا هُوَ ۚ ثَقُلَتْ فِي السَّمَاوَاتِ وَالْأَرْضِ ۚ لَا تَأْتِيكُمْ إِلَّا بَغْتَةً ۗ يَسْأَلُونَكَ كَأَنَّكَ حَفِيٌّ عَنْهَا ۖ قُلْ إِنَّمَا عِلْمُهَا عِنْدَ اللَّهِ وَلَٰكِنَّ أَكْثَرَ النَّاسِ لَا يَعْلَمُونَ
The Quran used the term "weighs ثَقُلَتْ " which means by gravity. But from General Relativity we know that gravity is curvature of spacetime. We also know that wormholes are equivalent to folding spacetime like a book.
١٠٤ يَوْمَ نَطْوِي السَّمَاءَ كَطَيِّ السِّجِلِّ لِلْكُتُبِ ۚ كَمَا بَدَأْنَا أَوَّلَ خَلْقٍ نُعِيدُهُ ۚ وَعْدًا عَلَيْنَا ۚ إِنَّا كُنَّا فَاعِلِينَ
Here God promises to make this Big Crunch however by folding the heaven like a book.
So in one verse God promises to make the Big Crunch by gravity and in another verse by folding spacetime like a book. Since both verses are the same then gravity is curvature of spacetime in the Quran.
How could an illiterate man who lived 1400 years ago have known that gravity is curvature of spacetime?
(According to the Bible Earth's gravity is so strong that it will make stars fall on Earth: In Mark 13:24-30 Jesus said that stars will fall on Earth before his second coming. Actually he said that stars will fall on Earth before even that generation passes away. However that generation passed away a long time ago and no star ever fell on Earth nor ever will.)
The Quran (Koran, the book of Islam) contains scientific knowledge that could not have been known 1400 years ago. It ranges from basic arithmetics to the most advanced topics in astrophysics. You are invited to go through those miracles and judge for yourself.