Nigeria and Israel have a surprisingly strong relationship
Since April 1993, Israel has maintained an embassy in Abuja and Nigeria has an embassy in Tel Aviv. Over fifty Israeli companies operate in Nigeria in the spheres of construction, infrastructure, hi-tech, communications and IT, agriculture and water management. In turn, there are over 5,000 Nigerian companies and organizations that operate in Israel. Trade and commerce are promoted by the Israeli Export and International Cooperation Institute, the Nigerian-Israeli Chamber of Commerce (NICC) and the Israel-Africa Chamber of Commerce.
Nigeria is also where Boko Haram kidnapped 276 girls in 2014. Israel has been assisting Nigeria with that issue
On September 2, 2019, the Nigerian government announced it would partner with Israel to address security challenges, particularly the Boko Haram insurgence, facing Nigeria.
Remember that Hamas kidnapped some 230 people on October 7. It's likely the parallels there are not lost on the Nigerian people.