Once there was a Sufi who was arrested and accused of theft. Despite his protests of innocence he was convicted and sentenced to three years in jail. He had a loving wife who visited him every day. One day she was allowed to bring him a carpet on which he could pray. Five times a day he would unroll the carpet and, kneeling and bowing down, would pray. Weeks and months passed in this manner. One day the intricate pattern of the carpet’s weaving caught his notice. There was something unusual about it. Still, day after day, he prayed and gradually the intricate detail of the carpet began to make sense to him. As the days passed and he continued to pray, the pattern resolved until one day it was clear to him. The pattern in the weaving was the design of the lock on his prison door. Using his new knowledge he picked the lock and escaped.
Image from: Metropolitan Museum of Art Collection Online