Turkish Prime Minister Recep Tayyip Erdogan has threatened to slap a young man if "he booed the country’s prime minister," media reports say.