Thousands of mourners have gathered at a national stadium in the Kenyan capital for the state funeral of former Prime Minister Raila Odinga.

Many carried national flags, portraits of the late leader, and wore T-shirts printed with his image to pay their final respects.

Security remains tight in and around the stadium, with police and military officers deployed to prevent a recurrence of the unrest witnessed on Thursday during the body-viewing ceremony.

At least three people died after police fired gunshots and tear gas in an attempt to contain the huge crowds who had turned out to escort Odinga's body from the country's main airport after it arrived from India where he died.

The presidents of Somalia and Ethiopian are among regional leaders attending the funeral service at the Nyayo National Stadium.