Rockets hit the Afghan capital on Tuesday, landing near the presidential palace during prayers for Eid Al Adha, officials and media said.
Three rockets landed outside the palace, said interior ministry spokesperson Mirwais Stanekzai, adding that there were no immediate reports of injuries.
It was not immediately clear who was behind the attack.
The attack interrupted an outdoor gathering for prayers in the palace compound attended by President Ashraf Ghani, television images showed.
However, the prayers continued amid the sound of explosions, and Ghani later delivered a speech from an outdoor podium, broadcast on local media.
Insecurity has been growing in Afghanistan, largely spurred by fighting in its provinces as foreign troops withdraw and Taliban insurgents launch major offensives, taking districts and border crossings.
On Monday, 15 diplomatic missions and the NATO representative in Kabul urged the Taliban to halt offensives, just hours after the insurgents and the Afghan government failed to agree on a ceasefire at talks in Doha.
Qatar's prime minister said on Sunday that efforts to reach a new ceasefire in Gaza have made some progress but an agreement between Israel and Hamas to end the war remains elusive.
A huge blast most likely caused by the explosion of chemical materials killed at least 18 people and injured more than 700 on Saturday at Iran's biggest port, Bandar Abbas, Iranian state media reported.
The UN Refugee Agency (UNHCR) and the UN Office for the Coordination of Humanitarian Affairs (OCHA) have sounded the alarm over severe funding shortfalls that are hindering life-saving humanitarian aid in countries including Nigeria, Burundi, and Colombia.
A number of people were killed and multiple others were injured in Vancouver after a vehicle drove into a crowd at a Filipino street festival in the western Canadian city, police said on Saturday.