Each time I enter Thailand, I check my stamp right after passing the immigration boot in order to have them correcting on the spot in case of discrepancy. Otherwise you'll spoil a day at the immigration office to have is rectified.
Why are you trolling. I knew it without checking, but I give you the wiki reference.
"During the Ayutthaya Kingdom period, the Iranian community in Thailand consisted primarily of merchants. They are recorded in some memoirs of their fellow merchants, the Dutch East India Company, as well as in the Safine-ye Solaymani ("Ship of Solayman"), an account of a Persian embassy to King Narai. Some descendants of Iranians from the Ayutthaya period converted to Buddhism, and continued to retain influence in Thai public life to the present day; one prominent example is the Bunnag family, whose ancestor "Shaykh Ahmad" is said to have come from Qom and arrived at Ayutthaya in 1602."