Wallets like PayTm should not withdraw your money without your permission

I received some money from a stranger through PayTM against a valid billed sale , and transact some amount to some medicine shop against medicine purchased, paytm blocked all accounts in chain of that money transaction and withdrawl my money saying this money belongs to some person whos money was driven through fraud

HOW COULD I KNOW WHILE TAKING MONEY FROM SOMEONE THROUGH PAYTM THAT IT IS NOT A FRAUDED MONEY