Egyptian security forces have detained 24 members of the opposition Muslim Brotherhood, which sought to stage nationwide anti-Israel rallies over al-Aqsa closure.