The win means the hosts cannot lose the four-match series as they now lead two-one with one match left to play, starting at Old Trafford on Friday.
The off-spinner Moeen took the last three wickets of the Proteas innings to become the first England spinner to take a hat-trick since 1938 and it was also the first time the feat was achieved at the Oval, which was hosting it’s 100th Test.
Moeen said after the game: “I’ve never taken a hat-trick in any sort of cricket.
“I’ve scored a few hat-tricks in football warm-ups, but this is a different sort of feeling … a better feeling.
“It was a special way to finish, and quite a fitting one in the 100th Test here, and summed up a really good week for us.”
The Worcestershire player however again revealed that he still sees himself as England’s second spinner despite having now taken 116 wickets in 40 Tests.
England’s other spinner in the Test squad, Liam Dawson, was dropped for the Oval Test but Moeen still prefers a second spin option.
Moeen continued: “Personally I always enjoy having another spinner bowling in tandem. It just does take a bit of pressure off.
“I have 40 Tests under my belt so there is a bit of experience but in general I always prefer it.”