The outlet and plug type used in Mauritania is C and in Madeira are C and F and they are compatible with each other.
In Madeira, outlets of type C and F are in use.
In Mauritania, outlets of type C are in use.