It has also joined Hezbollah, the Iran-backed Shia militant group based in southern Lebanon, in providing funding, training, and intelligence to Hamas fighters.