The Saints' goal difference is also nine better than Swansea's, so they will be safe barring a disaster.
"Ever since we took on the challenge, we've come in and found a group of guys that needed a bit more direction and belief", Hughes said.
"Now he's done what he had to do and he deserves credit and the players hope he stays and we can work with him again".
LONDON• Mark Hughes enjoyed a measure of personal redemption on Tuesday after guiding Southampton to near certain safety in the Premier League with a vital 1-0 win at Swansea, after he was sacked by relegated Stoke earlier in the campaign.
The Saints have a much better goal difference than many of those around them at -18, meaning there is a now a nine-goal swing between them and the Swans who sit on -27. Now we are in the position where we rely on others but we are not relegated yet.
"We got two players who wanted to come here, Andre Ayew and Andy King, and we let two players go out on loan, Roque Mesa and Oli McBurnie".
A club-record run of successive Premier League defeats happened between January and March. But at the end, the problem is not the 20 points we got but the 13 points we had when we arrived.
In the build up to Swansea's Premier League tie against Newcastle in September, many were discussing his eagerly anticipated debut but unfortunately for Sanches, his debut at the Liberty Stadium didn't go to plan.
Following that result, West Brom's relegation was confirmed, while Swansea are left perilously three points adrift of Huddersfield who are in 17th and have a game in hand over the Swans, albeit against Chelsea and Arsenal. Rafael Benitez's side have been decent on the whole this season, but the Blues could just edge this tie narrowly, providing Hazard is unleashed from the first whistle. "For that we are sorry to the WBA fans, who have been quite unbelievable considering the circumstances".
"It's a sad day obviously, but this season has been very hard for me".
A win for either the Swans or Southampton would see them needing just a point from their final two games, while if it finishes a draw at the Liberty, Huddersfield will require two.