Nabeel Rajab, who was imprisoned for a tweet he sent, has been allowed to serve the remainder of his sentence outside of prison.