Mishkat al-Masabih 580
Abu Darda’ said:
My friend enjoined me thus, “Do not associate anything with God even if you are cut to pieces and burnt; do not abandon a prescribed prayer intentionally, for if anyone abandons it intentionally protection will not apply to him; and do not drink wine, for it is the key to every evil.” 

Ibn Majah transmitted it.
وَعَن أبي الدَّرْدَاء قَالَ: أَوْصَانِي خَلِيلِي أَنْ لَا تُشْرِكَ بِاللَّهِ شَيْئًا وَإِنْ قُطِّعْتَ وَحُرِّقْتَ وَلَا تَتْرُكْ صَلَاةً مَكْتُوبَة مُتَعَمدا فَمن تَركهَا مُتَعَمدا فقد بَرِئت مِنْهُ الذِّمَّةُ وَلَا تَشْرَبِ الْخَمْرَ فَإِنَّهَا مِفْتَاحُ كل شَرّ. رَوَاهُ ابْن مَاجَه