Assalamu Alaikum wa Rahmatullahi wa Barakatuh,
الجواب وبالله التوفيق
It is impermissible to keep the lottery machine in your store as it is considered gambling and receiving any benefit from its income is also considered impermissible. Therefore utilizing such income for a mosque etc. is also considered incorrect.
قال تعالی – اِنَّما الخَمر والْمیسر والانصاب والازلام رِجْسٌ من عمل الشیطن فاجتنبوہ الخ (القرآن، سورہ مائدہ آیت 90
واللہ اعلم بالصواب
