The arrest occurred Friday , two days before Mr. Obama even arrived in Turkey .