Muhammad gave his daughter Fatima to Ali in marriage and swore a pact of brotherhood with him. Ali served as Muhammad's secretary and deputy in this period, and was the flag bearer of his army. Numerous sayings of Muhammad praise Ali, the most controversial of which was uttered in 632 at the