Marquez obviously. I'd lean towards a TKO victory more than a UD. A prime Marquez would destroy Hamed worse than anybody.
Marquez, he'd figure Hamed out like Barrera did. Barrera was an amazing technical boxer but Marquez is better in that department.
The only difference about Marquez beating Hamed like Barrera did is we wouldn't see Marquez pinning Hamed and slamming him into the turnbuckle. That episode is uniquely Barrera.
Hammed was out fought against Barrera not out boxed, if hammed keeps it a boxing match he knock marquez out late!
When facing a fellow counterpuncher Marquez may lead, just as in JMM-Gainer. Hamed is more of a "wildcat" than Pacquiao is, with the punches literally coming from all angles and delivered with freakish speed. I think Hamed hits harder punch for punch than PacMan, and Marquez getting decked when caught by Pac isn't going to bode well versus Hamed. On the other hand, Marquez has the discipline to box a full 12, but if he opens it up a bit each round to totally secure the judges' scores, he will get caught by Naz. I'm not so sure JMM clearly wins a decision by fighting a safe technical counterpunching fight against a fellow counterpunching Hamed.
style wise jmm is the worst out of the mini fab 4 for hamed, hamed was made for him. the guy is the epitome of a well schooled master boxer. his counter punching style would destroy hamed the worst way. if jmm showed like he did against peden and medina, i'd take him to KO hamed 9-12 or score a wide UD.