> The First Amendment doesn't apply to anyone while outside the US. A US citizen in Saudi Arabia doesn't have First Amendment protections there.
First Amendment deals with US federal government and states.
Neither the federal government nor the states can prosecute you for free speech you engage in as US citizen or resident while in Saudi Arabia. The Saudi Arabian government might choose to prosecute you, but the first amendment does prohibit the US government from prosecuting you for speech made overseas as well as on US soil.
An american journalist is living in Brazil and writes an article critical of the US government. The US government can not prosecute them simply because they wrote the article while out of the country.