Simply put, out of all hamstring exercises like leg curls, deadlifts, good mornings, nordic curls and so on... which one builds more leg muscle?
For overall Hamstring developement you should atleast include one Deadlift variation (the Hamstrings are activated when straightening the hip) and one Leg Curl variation (one of the muscles only inserts at the knee, so to hit that you have to curl).
Hip thrust, deadlifts and sumo squats are my favorites. It is hard to say which movement produces more muscle but it's supposed that compound movement develop more muscles
The best exercise to put muscle on the thigh is doing squats. It's the king of leg exercises. Leg curls and presses only work when you have already put mass on the legs. To get bigger legs, don't do anything but squats!