He took power in a 1999 coup and ruled as President until he resigned when he was threatened with impeachment in 2008.
He then went into self-imposed exile and returned to Pakistan in March in a bid to resurrect his political career.
Police arrested Musharraf late yesterday over the military raid on Lal Masjid, a day after the Supreme Court granted him bail on Wednesday in the Akbar Bugti murder case.
Today's ruling on his remand means he will remain under house arrest for at least two more weeks until the magistrate's court takes up his case again on October 25.