Lagos always has one pharmacy on duty, open outside normal hours. Here is the one on duty right now, and the contacts of every pharmacy in the area, including Odiáxere, Bensafrim and Praia da Luz.
Duty rosters can change without notice. If in doubt, call the pharmacy before travelling.