I don’t get it. If you sell stocks at the market price it wouldn’t be the market price but something cheaper that RB would buy and then sell at the real market price?
If you and someone else both mashed SELL at the exact same instant, they'd get $48 for their stock and you'd get $47.99 and your confirmation screens would both say "we sold your stock at the highest price we could find".
In exchange for sending their customers to a place where they'd only get $47.99 instead of $48, Robinhood received direct cash payments.
That $.0001 savings is known as "price improvement". Separately, the market maker pays a negotiated ahead of time rate to Robinhood for sourcing the order, aka "payment for order flow".