A selection of the week’s best photos from across the African continent and beyond:
Mohamed Hossam/EPA
Muslims across the continent celebrate the Prophet Muhammad’s birthday, starting in Egypt on Friday…
Jihed Abidellaoui/Reuters
While Tunisians honour the occasion on Sunday with drums and dance in the streets of the capital Tunis…
John Wessels/AFP
On the same day, in Senegal, young Muslims gather at the Seydina Limamou Laye Mausoleum in the capital, Dakar…
John Wessels/AFP
One young girl wanders off to enjoy the sunrise.
Ahmed Kingimi/Reuters
Tuesday sees a boy push his bike through deep waters following severe flooding in Maiduguri, Nigeria.
Badru Katumba/AFP
Ugandan athlete Rebecca Cheptegei, who was murdered by her ex-partner, is laid to rest on Saturday with full military honours at her father’s homestead in eastern Uganda…
Badru Katumba/AFP
The Ugandan military pay their respects with a gun salute…
Badru Katumba/AFP
Her youngest daughter cries as she holds a picture of her mother close to her heart.
Mohamed Abd El Ghany/Reuters
People relax on a private beach at the mouth of the Suez Canal in Egypt.
Prince Samura/EPA
Rescuers attempt to dig for survivors after a building collapse killed at least eight people in the Sierra Leone capital Freetown on Monday.
Mohamed Messara/EPA
In Tunisia, it’s time for the grape harvest on Tuesday.
From the BBC in Africa this week:
What an athlete’s murder tells us about women’s safety in Kenya
Climate change is turbo-charging Somalia’s problems – but there’s still hope
Kidnapped and trafficked twice – a sex worker’s life in Sierra Leone
‘Bipolar, colour and me’ – an artist’s spreadsheet of emotion
Who was behind one of the deadliest attacks in Sudan?
Getty Images/BBC
Go to BBCAfrica.com for more news from the African continent.
@BBCAfrica , on Facebook at BBC Africa or on Instagram at bbcafrica