At the vending machine in our school, i got a hot chocolate. I wanted to pay, but the machine didn't let me. And you also have to pay with credit card. What am I supposed to do?

  • What is your issue? If you want something you may need to pay it. Please elaborate and read How to Ask.
    – Medi1Saif
    Commented Jun 6, 2019 at 10:45

1 Answer 1


This is absolutely not Riba.

Riba is simply an increase in something of the same kind or another thing as a return for it. And it was popular to happen in the Jaahiliyyah when they were requiring more money for debts to be absolute in their due dates.

You intended to pay but couldn't because of an inevitable, sudden technical issue in the vending machine.

It is narrated on the authority of Amir al-Mu'minin (Leader of the Believers), Abu Hafs 'Umar bin al-Khattab (may Allah be pleased with him), who said: I heard the Messenger of Allah (peace be upon him), say:

Actions are according to intentions...

So you didn't do any kind of prohibited doings in Islam unless you were able to get in contact with the manager of the machine or the one taking charge of that place who you should pay them instead; otherwise, it may be considered stealing.

And Allah knows best.

Source of the Hadith

For reading further about Riba, see here.

  • UPDATE: apparently what i posted is...deleted i guess, not entirely sure. Anyways, i basically got another hot chocolate and gave it to a friend of mine. Does that count as having payed it? @Tasneem ZH Commented Sep 11, 2019 at 16:20
  • If that had been repeated then, for sure, the vending machine has some technical errors. What you are doing is like taking advantage of the situation instead of reporting the issue to the one in charge. Even if what you did is good, the fact stands that that wasn't yours. Commented Sep 13, 2019 at 15:42
  • Oh. Well i do not know who is exactly in charge. I could pay the workers at the canteen. Commented Sep 16, 2019 at 5:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .