Iran was known to “house” Al Qaeda operatives and possibly assisted in their training and weapons supplies.
I wish I had the article in front of me that I read years ago, possibly about 2014 or 2016, maybe even earlier. If I find it, I’ll post it.
Al Qaeda's Iran Connection