The UN General Assembly on Wednesday condemned Russia's "illegal annexations" of Ukrainian territory after Moscow vetoed a similar text in the Security Council in late September.
Twenty-six African countries voted in favor of the resolution rejecting Moscow's controversial referenda in four Ukrainian regions. Nineteen others abstained.
Mali, the Central African Republic, Ethiopia, the Republic of Congo, South Africa, Sudan, Uganda, and Zimbabwe were among the African countries that abstained. Eritrea, which had previously voted to reject a UN resolution condemning the Russian invasion of Ukraine, also abstained.
Three of these countries hosted Russian diplomatic chief Sergei Lavrov during his tour of the region in July.
Burkina Faso, Cameroon, Equatorial Guinea, and Sao Tome were absent from the assembly.
The General Assembly of the 193 member states had met in an emergency meeting. It adopted the resolution with 143 votes in favour, with five countries against and 35 abstaining, including China, India, Pakistan, and South Africa, despite diplomatic efforts by the United States.
The five states that voted against were Russia, Belarus, Syria, North Korea, and Nicaragua.
Earlier this month, Ukrainian Foreign Minister Dmytro Kuleba toured Africa in an effort to counter Russia's apparent hold on the continent. The goal was to persuade leaders to support Kiev.
He was forced to cut his visit short after Moscow intensified its bombing of Ukraine.
Go to video
South Africa: Putin's shadow hangs over the BRICS Summit
Sudan: Army chief Burhan filmed with troops
Russian foreign minister Sergei Lavrov visits Burundi
Ukrainian diplomat calls on Africa to support Kyiv against Moscow
Go to video
The UN warns of the risk of famine in the northeast of Nigeria
African peace delegation to visit Russia in June or July: Moscow