So you are stating that nowhere whatsoever does the koran give a Muslim an excuse to lie?I speak from the Traditional knowledge in Islam.
It is absolutely forbidden to lie in Islam. Lying is held as one of the greatest evils (I don't like to say the "greatest evil" but I could say so). Saying the Truth is held as the supreme virtue. Look to what Muhammad himself said (peace be upon him and his family):
"Verily, truthfulness leads to righteousness (birr), and righteousness leads to the Garden. A man speaks truths until he is written with Allah as a truthful person (siddiq). Lying leads to wickedness (fujur), and wickedness to the Fire. A man lies until he is written with Allah as a liar"
Muhammad (peace be upon him and his family) had a dream in which two men came to him and took him to some places where he saw some things. He mentioned it as well as the explanations the two men gave him:
"I had (a dream) last night that two men came to me, caught hold of my hands, and took me to the Sacred Land (Jerusalem). There, I saw a person sitting and another standing with an iron hook in his hand pushing it inside the mouth of the former till it reached the jaw-bone, and then tore off one side of his cheek, and then did the same with the other side; in the mean-time the first side of his cheek became normal again and then he repeated the same operation again. I said, 'What is this?' They told me to proceed on "...." As for the one whose cheek you saw being torn away, he was a liar and he used to tell lies, and the people would report those lies on his authority till they spread all over the world. So, he will be punished like that till the Day of Resurrection."
A verse of the Qur'an I just thought of is "his lying, sinful forelock".
A religion does not ask to lie.
Islam is a religion of peace and love. Muslims are obligated to love everyone God created. Because of Islam, the Muslim brings close his enemy and keeps afar his own family. You see people calling the police telling them "pay attention to my son, I think he is invovled in extremist activities". A none Muslim would say "this is my son", I can not turn him over to the police. But the Muslim is under the obligation to obey the laws and to be rigorously honest.
No, there is no verse of the Qur'an saying "it's ok to lie if..."
And again, the Qur'an is the word of God, not that of Muhammad (peace be upon him and his family).
I saw quoted here the verse which said "except that you may guard yourself from them" or something like that. That verse was either something general and politic, telling Muhammad to make some treaties, for example, with the Jews of Madina if he feels it would be opportune; or it was a verse that came to console a specific Companion. There was indeed, one time, a famous Companion who came to Muhammad crying, saying he was forced to say evil things about Muhammad, he could not bear the pain any longer. The verse came after that event, praising that Companion.