Go to the Emmigration Department in Madina Khalifa, and tell them to extend the validity. For Visit Visa, I did it after expiring the entry date. So, go to there, it is opening evening aswell. I believe the validity is for 3 months..but why did you wait till July 27 to check this doubt. People are running here and there for family visa...