There is a widespread custom on Erev Shabbat (Friday afternoon) of Shabbat Hanukkah (Festival of Dedication) to pray Mincha (afternoon prayer) early in the day, before lighting the Hanukkah candles, at Mincha Gedolah (early afternoon prayer). The reason is to preserve the order of operations in the Beit HaMikdash (the Temple). In the Beit HaMikdash, they would first perform the Tamid shel bein ha'arbayim (the afternoon sacrifice), and afterwards they would light the menorah (lampstand). To preserve that order, we also pray Mincha early and then light the candles.
For the rest of the holiday, we always pray Mincha before lighting the candles, because we light them in the evening. But on Friday afternoon, when we light the candles early, many wish to preserve that order by praying Mincha early and then lighting the candles. However, this is not mandatory. One may light the candles and pray Mincha afterwards. In particular, one should not pray early in the day if doing so would compromise praying with a minyan (prayer quorum). If a person cannot find a minyan to pray earlier in the day, and must choose between praying before lighting the candles or praying with a minyan after lighting them, he should prioritize praying with a minyan over praying early. If he can preserve the custom and pray with a minyan, then mah tov u'mah na'im (How good and how pleasant).
On Friday night, we omit the recitation of Bameh Madlikin (With what may we kindle?) in the Friday night prayers. We normally read the second chapter of Masechet Shabbat (Tractate Shabbat), which discusses all the laws of lighting candles for Shabbat, but we skip it on the Friday night of Hanukkah. The reason is that the chapter discusses which wicks and oils one may and may not use on Friday night. There are many wicks and oils that one cannot use for Shabbat candles but can use for Hanukkah candles. So if one were to read Bameh Madlikin on the Friday night of Hanukkah, he would read about all these oils and wicks that one cannot use, and he would think they are forbidden for his Hanukkah candles, when in fact they are not. To avoid confusion, we skip Bameh Madlikin. That is the widespread custom, but some individual communities maintain the prayers as is and say Bameh Madlikin. If they have that custom, they should continue it as is. Have a great day.

