Ferdinand's contract expires this summer, while there has been increased speculation about the future of Hernandez who has been forced to settle for a place on the bench more times than not recently.
Sir Alex says the club will be talking with Ferdinand's representatives about his future and he is confident Hernandez will not be going anywhere.
"There is no reason to think this is not the place for him [Hernandez]," the boss told reporters.
"We hope he feels as though he has made a contribution. He has scored 16 goals. When he came on the other night [at West Ham] his movement was terrific. He created a lot of openings for us.
"I thought we were pretty unlucky not to win it. Their goalkeeper made a couple of saves, one shot was cleared off the line and he was very unlucky with a header. Hernandez has got these things in his locker all the time. His enthusiasm to play is always there.
"I’ve spoken to Rio," added Sir Alex. "At this moment in time, he’s more concerned about getting opposition for his testimonial game. He’s working on that for the moment.
"We want him to stay and obviously I’m sure his representatives will be discussing things with David Gill. I wouldn’t imagine that [moving abroad] would be the best thing for him."