Updated

Egypt's official news agency says officials deported seven Palestinians to Gaza after they were detained for days in Cairo airport.

The incident shows tensions between Cairo and neighboring Gaza, ruled by the militant Islamic group Hamas.

Hamas sees the Muslim Brotherhood, from which Egypt's President Mohammed Morsi hails, as their ideological parent.

The report came as state media accused Hamas of undertaking an August attack that killed 16 Egyptian soldiers.

The MENA agency said Saturday that the men arrived in Egypt from Syria but didn't have exit stamps. They were released Friday after investigations turned up no illegal activity. Syria stamps special Palestinian travel documents rather than passports, possibly explaining the confusion.

Hamas officials deny involvement by the group in the August attack and says the Palestinians were wrongfully held.