Selling order flow is not illegal in itself and most brokerages do it. However, more of Robinhood’s overall revenue comes from the practice than other brokers.
Source: CNBC
Robinhood is reportedly under SEC investigation, could pay million fine