The agreements were signed at the Rabat Royal Palace in the presence of President Buhari and Moroccan King Mohammed VI.
The 5,600-km pipeline will give Africa a new economic, political and strategic dimension and place Morocco and Nigeria as two leaders of South-South cooperation in the African continent.
The pipeline has strategic importance and benefits, not only for Nigeria and Morocco, but also for the countries crossed by the pipeline, a joint statement said.
Another agreement was a Memorandum of Understanding (MoU) between the OCP Group and the Nigeria Sovereign Investment Authority for the development of an industrial platform in Nigeria for the production of ammonia and related products.
There was also a cooperation agreement in the field of agricultural vocational training and technical supervision between the agriculture ministries of the two countries for the joint development of agriculture and fisheries in western Africa.