CAIRO (AP) — Egypt's official news agency reports that the state prosecutor has ordered the detention of the ousted president over alleged contacts with Hamas to help in his escape from prison in 2011.
The MENA news agency said Mohammed Morsi has been detained for 15 days for investigation into the charges.
Egypt's military has been holding Morsi in an undisclosed location since deposing him on July 3.
Spokesman Micky Rosenfeld says one rocket exploded in the courtyard of a house in the border town of Sderot, causing damage but no injuries. The other landed in an open field.
As a presidential candidate in 2008, Obama visited Sderot, which is frequently targeted by rocket attacks from the nearby Gaza Strip. The territory is ruled by the militant Palestinian Hamas group.
No group immediately claimed responsibility for Thursday's attack, which came as Obama was in Jerusalem. He is to visit the West Bank city of Ramallah later in the day.