Character files for MUGEN circulate on the usual fan-hosting sites, and searching for "MUGEN Sonic" will turn up several versions. Pick whichever build you like, since there are many and they range from faithful to wildly overpowered.
Installation is two steps. Drop the character's folder into the chars directory in your MUGEN install, then open select.def in the data folder and add the character's entry to the roster list.
If Sonic doesn't appear, the name in select.def almost certainly doesn't match the folder name exactly. That typo is the cause of most failed installs.