A Federal High Court in Damaturu dismissed a lawsuit filed by Mustapha Maihaja which means Baba Wali remains the official APC governorship candidate for Yobe State in the 2027 election.
Delivering judgment on Monday, Justice Fatima Amin said the case came too late.
She ruled that the suit was filed outside the time limit set by the Constitution, so the court had no power to hear it.
She added that even if the case had been filed on time, Maihaja still would not have won, because he failed to prove over voting.
She also found the testimony of his witnesses inconsistent and unreliable.
His Press Secretary, Shuaibu Abdullahi, welcomed the ruling and said the party has confidence in the courts.