Even if you are in danger , you must offer your Prayers anyhow on foot or on horseback . And when you have peace again , remember Allah in the manner He has taught you , which you did not know before .