Upvote:5
Timatic is the database used by airlines to check visa requirements.
According to Timatic, for Nigerians visiting Mexico:
Visa
Visa required.
Visa Exemptions: Passengers with a permanent residence permit issued by United Kingdom for a maximum stay of 180 days.
There is no mention of temporary residence permits and since you're emphatic that you don't have a permanent residence permit it seems that you will need a visa.