Abu Hurairah narrated that Abraham did not tell a lie except on three occasions, twice for the sake of Allah (Exalted and Almighty) when he said: "I am sick," (when his people were holding a festival in honor of their gods, Abraham excused himself by saying he was sick; see Surah 37: 89), and when he said: "(I have not done this but) the big idol has done it." The (third was) that while Abraham and Sarah (his wife) were going (on a journey), they passed by (the territory of) a tyrant. Someone said to the tyrant: 'This man (i.e., Abraham ) is accompanied by a very charming lady." So, he sent for Abraham and asked him about Sarah saying: "Who is this lady?" Abraham said: "She is my sister."
Abraham went to Sarah and said: "0 Sarah! There are no believers on the surface of the earth except you and me. This man asked me about you and I have told him that you are my sister, do not contradict my statement." The tyrant then called Sarah, and when she went to him, he tried to take hold of her with his hand, but (his hand got stiff and) he was confounded. He asked Sarah: "Pray to Allah for me, and I shall not harm you." So Sarah asked Allah to cure him and he got cured. He tried to take hold of her for the second time, but (his hand got as stiff as or stiffer than before and) he was more confounded. He again requested Sarah: "Pray to Allah for me, and I will not harm you." Sarah asked Allah again, and he became all right. He then called one of his guards (who had brought her) and said: 'You have not brought me a human being but have brought me a devil."
The tyrant then gave Hajar as a maid servant to Sarah. Sarah came back (to Abraham) while he was praying. Abraham, gesturing with his hand, asked: "What has happened?" She replied: "Allah has spoiled the evil plot of the infidel (or immoral person) and gave me Hajar for service." Abu Hurairah then addressed his listeners saying:'That (Hajar) was your mother, 0 Bani Ma-is-Sama (i.e., the Arab, the descendants of Ishmael, Hajar's son)."