Istanbul (IST), TR to Lagos (LOS), NG: 3 sets of rules apply.
Nigeria's aviation regulator sets minimum passenger rights for flights within Nigeria, flights leaving Nigeria, and flights into Nigeria. Compensation is a percentage of your ticket price: at least 25% on domestic flights and 30% on international flights, triggered by things like being bumped, late cancellations and very long domestic delays. Airlines must also give refreshments, meals, hotels and refunds or rebooking, depending on how long you wait.
Applies because: Flights from another country to Nigeria, unless you already received benefits or compensation and assistance in that other country (19.2.1.1(b)). The text does not limit this to Nigerian airlines.
If you fly from a Turkish airport on any airline, or into Türkiye on a Turkish airline, the airline must look after you during long delays and give you a refund or new flight if your flight is cancelled or you are bumped. It also owes you EUR 100 (domestic) or EUR 250 to EUR 600 (international) if you are bumped, cancelled at short notice, or arrive 3+ hours late because of a technical or operational delay. It is paid in Turkish lira at the day's exchange rate. If the airline won't pay, complain first to the airline and then to Türkiye's Directorate General of Civil Aviation (SHGM).
Applies because: Any airline (Turkish or foreign), scheduled or charter, departing an airport in Türkiye (Article 2(1)(a)).
Baseline for international trips The Montreal Convention is the worldwide treaty that makes airlines liable for injury or death, lost, damaged or delayed bags, and losses caused by flight delays on most international trips. It does not give fixed cash payouts for delays. You get back the costs you can prove, up to set limits, unless the airline shows it did everything reasonable to avoid the problem. Strict time limits apply, so report baggage problems in writing quickly.
Applies because: International journeys between two countries that are parties to the Convention (most countries are). Some countries are only parties to the older Warsaw Convention.