The pre-dawn attack by suspected militants in Pattani province appeared to target a Muslim deputy village chief but instead fatally wounded a 66-year-old man after morning prayers, said Police Lieutenant Colonel Somchai Janyoung.
"The man died at hospital after suffering two gunshot wounds at the mosque, he was the father of the imam (mosque's leader). The deputy village chief escaped with minor injuries to his leg," Somchai said.
He could not clarify exactly how many gunmen were at the scene.
The rebels are fighting for a level of autonomy, accusing Thai authorities of riding roughshod over their distinct culture and carrying out human rights abuses.
These grievances are frequently seized upon by militants as a reason for targeted killings of Buddhist and Muslim representatives of the Thai state, including teachers, government officials and security forces.