UAE President His Highness Sheikh Mohamed bin Zayed Al Nahyan has visited Qatar to offer his condolences following the passing of Sheikh Hamad bin Khalifa Al Thani.