Qatar offers Egypt $3bn lifeline