My answer: find a flight with at least 2hrs 30mins layover so you can comfortably get to the terminal, go through security, have a bathroom stop, stretch the legs and make it to your next boarding gate. Another option to consider is staying the night in Abu Dhabi.