While in Saudi, Mr Buhari successfully performed Umrah rituals, amid tight security, upon his arrival at the Grand Mosque in Makkah from Madinah on Thursday morning.
President Muhammadu Buhari has returned to Abuja after eight-day official visit to the Kingdom of Saudi Arabia, where he also performed the Umrah (Lesser Hajj).
The News Agency of Nigeria (NAN) reports that the Nigerian leader departed Saudi Arabia via King Abdulaziz International Airport Jeddah, Saudi Arabia, on Wednesday.
Saudi Government officials, traditional and spiritual leaders from Nigeria as well as some senior staff of the Nigerian Embassy in the Kingdom were at the airport to bid farewell to the president.
The president had successfully performed Umrah rituals, amid tight security, upon his arrival at the Grand Mosque in Makkah from Madinah on Thursday morning.
The president, members of his entourage as well as some traditional and religious leaders from the six geopolitical zones of the country, were led by a delegation from the General Presidency for the Affairs of the Grand Mosque in the performance of the rituals.
The Nigerian leader had earlier visited some historic religious places in Madinah on Tuesday and Wednesday before he proceeded to Makkah for the Umrah.
The president also received updates on developments at home from some government officials including governors of Borno and Yobe States.
Also while in Makkah, Mr Buhari hosted some traditional and religious leaders to Iftar dinner (breaking of fast).
The Emirs of Kano and Bichi in Kano State, Aminu Ado Bayero and Nasiru Ado Bayero who spoke after the event both said only a united country could move forward and attain its goals.
The religious leaders in attendance were Abubakar Sulaiman, the Chief Imam of the Aso Rock Villa, Sheikh Al-Kanawi Alhassan Ahmed, Bashir Umar, Muhammad Kamaluddeen Lemu and Nuruddeen Danesi Asunogie.
The others werei Ibrahim Magani, Shehu Galadanchi, Abdulrasheed Adiatu, Haroun Ogbonnia Ajah and Bala Lau.
The president had also met the Otaru of Auchi, Aliru Momoh, Emir of Lafia, Sidi Bage, Emir of Bauchi, Rilwan Sulaiman, Akadiri Momoh, Abdulfatah Emetumah, Fatima Emetumah and Isa Bayero.
Prayer were offered for peace in the country, the successful end of term of the president and for the success of the incoming administration.
Mr Buhari had earlier visited and prayed at the Prophet's Mosque in Madinah.
He also met with elder statesman, philanthropist and patriarch of the Dantata family, Aminu Dantata, in Makkah where he once again expressed his condolences over the demise of his wife, Rabi Dantata.
The Kano-based businessman had on 9 April, lost his wife at a medical centre in Saudi Arabia.