Never happened. What Rey did do however, was bypass the compressor that Unkar Plutt had installed on the Falcon, which Han had never seen. That was explained in The Force Awakens. You can read about it here, since apparently the dialog that was actually in the film was not clear enough for you [https://starwars.fandom.com/wiki/Compressor]: After he stole the Millennium Falcon from the Irving Boys, Crolute junk boss Unkar Plutt installed a compressor on the ignition line. However, by the time the smugglers Han Solo and Chewbacca recovered the Falcon, the scavenger Rey bypassed a faulty compressor at the cockpit, ceasing the ship's malfunction.