/ Updated 
By Reuters

Kenyans took to the street Monday against homosexuality and a lawmaker said that he will tell President Obama to, "shut up and go home" if he tries to push a pro-gay agenda when he visits the country later this month.

Last month's U.S. Supreme Court decision to allow same-sex marriage was given praise by President Obama but this opinion is not shared in many African countries where religious views prevail.

"We are telling Mr. Obama when he comes to Kenya this month and he tries to bring the abortion agenda, the gay agenda, we shall tell him to shut up and go home," lawmaker Irungu Kangata told demonstrators outside parliament.

Many of the dozens of Nairobi demonstrators wore t-shirts with the slogans "Protect the family match" and "Stand with the family".

RELATED: Living Color: What Does it Mean to Live Stealth?

Deputy President William Ruto told a church congregation in May that Kenya had "no room for gays". This was said the same day that U.S. Secretary of State John Kerry arrived in Nairobi for talks.

Anti-gay remarks by African leaders often win public support but put them at odds with Western donors who provide valuable economic and other support to the continent.

In most of Africa's 54 countries, lesbian, gay, bisexual and transgender (LGBT) people hide their sexual orientation for fear of persecution or criminal prosecution. South Africa is the only African country that permits gay or lesbian marriage.

Although, gay rights activists have called for Obama to show solidarity with them during his trip to Kenya and Ethiopia, which is expected to start on July 25.