Turkish President Recep Tayyip Erdogan had already paid a visit to Saudi Arabia in late April, where he met the prince before travelling to Mecca.
The pair “reviewed the Saudi-Turkish relations and ways to develop them in all fields”, Saudi state news agency SPA said at the time.
With high inflation and a cost-of-living crisis a year before a presidential election, Erdogan is seeking backing from Gulf countries.