Charak Samhita
आपाने सात्त्विकान् बुद्ध्वा तथा राजसतामसान् । जह्यात्सहायान् यैः पीत्वा मद्यदोषानुपाश्नुते ॥७९॥
While drinking, one should know the people following sattvika, rajasika and tamasika way of drinking and try to be at distance from such companions due to whom one may suffer by bad effects of liquor consumption.
english translation
ApAne sAttvikAn buddhvA tathA rAjasatAmasAn । jahyAtsahAyAn yaiH pItvA madyadoSAnupAznute ॥79॥
hk transliteration by Sanscript