Mohammad Rahim Wahidi, a lawful permanent resident of the United States, was detained for more than 30 hours upon returning to the country over the weekend.