I heard if you drink alcohol, your salah wouldn't be accepted for 40 days, what about if you work with alcohol but don't drink it?, is that samething?. Another way of asking above question, is working with alcohol effects your salah and fasting? Please provide evidence when answering the question.
Graded sahih and narrated by Abdullah ibn Umar the following Hadith states:
يَقُولُ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " لَعَنَ اللَّهُ الْخَمْرَ وَشَارِبَهَا وَسَاقِيَهَا وَبَائِعَهَا وَمُبْتَاعَهَا وَعَاصِرَهَا وَمُعْتَصِرَهَا وَحَامِلَهَا وَالْمَحْمُولَةَ إِلَيْهِ " .
The Prophet (ﷺ) said: Allah has cursed wine, its drinker, its server, its seller, its buyer, its presser, the one for whom it is pressed, the one who conveys it, and the one to whom it is conveyed.
Allah has mentioned in the Quran that alcohol is forbidden for us. You should not be involved in anything with alcohol.
Regarding fasting and salah, they will still be valid but you may not get the reward you could get as you are still committing a sinSee this. Your prayers not being accepted for 40 days does not mean they are not valid. See Does drinking alcohol led to forty days of impuriy in which no prayer is accepted?.