Surah Al-Hajj, ayah 15

22:15

مَن كَانَ يَظُنُّ أَن لَّن يَنصُرَهُ ٱللَّهُ فِي ٱلدُّنۡيَا وَٱلۡأٓخِرَةِ فَلۡيَمۡدُدۡ بِسَبَبٍ إِلَى ٱلسَّمَآءِ ثُمَّ لۡيَقۡطَعۡ فَلۡيَنظُرۡ هَلۡ يُذۡهِبَنَّ كَيۡدُهُۥ مَا يَغِيظُ ١٥

Man kāna yazunnu al lan yansurahullāhu fid-dunyā wal-ākhirati falyamdud bisababin ilas-samā'i thumma lyaqta' falyanzur hal yudhhibanna kayduhū mā yaghīz

Whoever should think that Allāh will not support him [i.e., Prophet Muḥammad (ﷺ)] in this world and the Hereafter - let him extend a rope to the ceiling, then cut off [his breath],918 and let him see: will his effort remove that which enrages [him]?

Footnotes

918 i.e., strangle himself.