This is from Reuters:
The Comoros Islands, a nation of about 800,000 people, began its programme to sell passports in 2008 as a way of raising much-needed cash. The islands arranged a deal with the governments of the United Arab Emirates (UAE) and Kuwait, who wanted to provide stateless inhabitants there known as the Bidoon with identity documents, but not local citizenship. The governments would buy the Comoros passports, and then distribute them to the Bidoon.
In return, the Comoros was meant to receive several hundred million dollars to help develop its economy, whose output amounts to just $600 million a year.
At the time, the Comoros was also forging ties with Iran. The islands’ president from 2006 to 2011 was Ahmed Abdallah Mohamed Sambi, who had studied for years in the Iranian holy city of Qom.
… In all, more than 1,000 people whose place of birth was listed as in Iran bought Comoros passports between 2008 and 2017, according to details of a database of Comoros passports reviewed by Reuters. The majority were bought between 2011 and 2013, when the international sanctions were tightened, particularly on Iran’s oil and banking sectors.
By the way, Comoros has since cut ties with both Iran and Qatar.