President Recep Tayyip Erdoğan went to Egypt from the United Arab Emirates (UAE) for an official visit.