عَنْ أُمِّ سَلَمَةَ قَالَتْ: نَهَى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَنْ كُلِّ مُسْكِرٍ ومقتر. رَوَاهُ أَبُو دَاوُد
Translation
Abu Musa used to say

It is all the same to me whether I drink wine or worship this pillar instead of God.*Nasa’i transmitted it.*He says that the one sin is as serious as the other.