It happens in the Archie Sonic the Hedgehog comics, issue 197.
That issue is the reference point fans cite for Scourge's imprisonment, so it is the one to track down if you want the original scene.