even if nigeria’s fertility falls dramatically there’s what’s called demographic momentum[1] which will continue population growth through the rest of the century barring unprecedented migration or catastrophe. 800m is the UN’s middle of the road estimate. the low estimate is around 600m iirc, and the high estimate is over 1b.
[1] https://en.m.wikipedia.org/wiki/Demographic_momentum