The league leaders came from two goals behind to secure the three points and Ferguson was delighted following the final whistle at Villa Park.
"It's a magnificent result, it was a magnificent game," said Ferguson. "Aston Villa have done fantastic today, they ran their socks off but we never gave in. We hit the bar twice and we never give in.
"We were careless in the first-half and we had to improve and we did. Javier Hernandez is fantastic in the penalty box and it's got us three goals today. If you score a hat-trick you pick yourself and he will play next week."
United stretched their lead at the top of the table to four points with the win.