Section 131 of the constitution says:
A person shall be qualified for election to the office of the President if -
(a) he is a citizen of Nigeria by birth;
(b) he has attained the age of forty years;
(c) he is a member of a political party and is sponsored by that political party; and
(d) he has been educated up to at least School Certificate level or its equivalent.