Shadow the Hedgehog and Sally Acorn have never married in any official Sonic media—games, comics (Archie/IDW), or animated series.
The pairing exists only in fan fiction and fan art. Official stories portray them as allies at most, with no romantic storyline.