https://www.google.com/amp/s/www.theatlantic.com/amp/article...
Also, it would be silly to assume that we didn't have a database of "country from" for immigrants or visitors. "Muslim" is not a country, it's a religion, so you'd need some serious behavior profiling for that -- probably FB/Google are ones you should be after. (Disclaimer: am immigrant, am minority.)