Sunan Ibn Majah 4034
Grading supplied with this record: Hasan (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لاَ تُشْرِكْ بِاللَّهِ شَيْئًا وَإِنْ قُطِّعْتَ وَحُرِّقْتَ وَلاَ تَتْرُكْ صَلاَةً مَكْتُوبَةً مُتَعَمِّدًا فَمَنْ تَرَكَهَا مُتَعَمِّدًا فَقَدْ بَرِئَتْ مِنْهُ الذِّمَّةُ وَلاَ تَشْرَبِ الْخَمْرَ فَإِنَّهَا مِفْتَاحُ كُلِّ شَرٍّ "
It was narrated from Abu Darda' that my close friend (ﷺ) advised me:
"Do not associate anything with Allah, even if you are cut and burned. Do not neglect any prescribd prayer deliberately, for whoever neglects it deliberately no longer has the protection of Allah. And do not drink wine, for it is the key to all evil."
Full reference and source
Sunan Ibn Majah 4034 In-book : Book 36, Hadith 109 English translation : Vol. 5, Book 36, Hadith 4034
View source on Sunnah.com (opens in a new tab)