The attack on Hamdok, a seasoned economist named premier last August, injured no one and took place in the Kober district of northeast Khartoum while underlining the fragility of Sudan's transition to civilian rule.
Sudan's post-uprising Prime Minister Abdalla Hamdok survived unharmed after a bomb and gun attack targeted his convoy Monday on the way to work in the capital Khartoum, officials and state media said.
The attack on Hamdok, a seasoned economist named premier last August, took place in the Kober district of northeast Khartoum and underlined the fragility of Sudan's transition to civilian rule.
"An explosion hit as Prime Minister Abdalla Hamdok's car was driving by but thank God no one was hurt," Ali Bakhit, his office director, said in a Facebook post.
Sudan's official news agency SUNA said that Hamdok, who later chaired an extraordinary cabinet meeting, was in "good health and a safe place".
The unidentified attackers struck at "around 9 am at the entrance to Kober bridge... at the time when Hamdok usually heads to his office" in the city centre, SUNA said.
The cabinet said an explosion and multiple gunshots targeted the convoy.
Images on state television showed at least two damaged vehicles at the blast site, which was quickly cordoned off by police.
Hamdok, 64, wrote on his official Twitter account that he was unharmed, and released two photos of himself beaming while seated at his desk.
"I would like to assure the people of Sudan that I am safe and in good shape," he said.
He appeared on television exchanging hugs with public figures.
Attack on 'revolution'
US Assistant Secretary of State Tibor Nagy said Washington "strongly supports" Sudan's transitional government and was "monitoring the situation closely".
Saudi Arabia and Ethiopia condemned the attack.
A spokesman for France's foreign ministry said Paris remained committed to working alongside Sudanese authorities to "ensure the success of the democratic transition towards free elections in 2022".
The European Union's foreign affairs chief Josep Borrel also voiced support for Khartoum, saying "the ideals of the revolution have to be preserved".
Hamdok addressed such concerns.
"Rest assured that what happened today will not stand in the way of our transition, instead it is an additional push to the wheel of change in Sudan," said Hamdok in a tweet.
The premier also met with leaders of the Forces of Freedom and Change (FFC) movement, who spearheaded nationwide protests against longtime president Omar al-Bashir calling for civilian rule.
No group immediately claimed responsibility for the attack and no arrests were announced.
The "terrorist attack" had targeted the "revolution of the Sudanese people and the gains they achieved", the cabinet said in a statement.
It said there were no casualties apart from a guard "who suffered a minor shoulder injury after falling from his motorcycle".
The country's security and defence council later met and recommended boosting protection for public figures and increasing vigilance more generally.
Dozens of demonstrators in Khartoum took part in public shows of support for Hamdok after the attack, chanting "with our blood and soul, we will sacrifice ourselves for you".
"This is our homeland and Hamdok is our leader," they sang.
Hamdok's appointment as prime minister came on the back of a power-sharing deal between military leaders, who ousted Bashir in April, and the FFC.
He had built a solid career in continental and international organisations, including as deputy executive secretary of the UN's Economic Commission for Africa in Addis Ababa.
Since he took office, Hamdok has vowed to tackle social and economic difficulties and been attempting to forge peace with rebel groups across the country.