The husband of the Kenyan athlete, Agnes Tirop, has appeared in court as a suspect in her murder.
The magistrate said he would allow police to hold Ibrahim Rotich for 20 days, during which time he will be assessed to see if he is mentally fit to stand trial.
Mr Rotich was arrested last week in the coastal city of Mombasa.
Police said he was trying to flee the country.
Eye witnesses said there was drama outside the court as members of the pubic threatened to storm the premises for a glimpse of the suspect.
Ms Tirop was found stabbed to death in her home in western Kenya.
Last month she broke the world record for a women-only 10km road race, shaving 28 seconds off the previous fastest time.
more recommended stories
Nigerians banned from going to fight in Ukraine
Nigeria has said it will not.
Ukraine crisis: First batch of students arrive in Ghana
Ghana has become the first African.
African students ‘badly treated at Ukraine borders’
Cold and fearful, scores of South.
Nigeria offers to evacuate its citizens from Ukraine
The government of Nigeria says it.
Mozambique government websites hacked
Hackers say thy have regained control.
African Union suspends Burkina Faso over military coup
The African Union said Monday it.
No access to public spaces for unvaccinated Rwandans – Prime Minister
Rwandan citizens and residents must be.
Former Malian president Ibrahim Boubacar Keita dies aged 76
The former president of Mali Ibrahim.