Text this: Religious observance and market law in medieval Islam