Lying, being one of the ten unskillful actions, regardless of what it is about, results in bad results in this life or in lives to come. Any person who hasn't transcended these unskillful actions (at least achieved Stream-Entry) has a possibility of being reborn in hell:
AN 10.176: Cundakammāraputta SuttaFurthermore, as a result of being endowed with these ten courses of unskillful action, [rebirth in] hell is declared, [rebirth in] an animal womb is declared, [rebirth in] the realm of hungry shades is declared — that or any other bad destination.http://www.accesstoinsight.org/tipitaka ... .than.htmlThat being the case, rebirth in these realms is temporary, and it is possible to change one's ways and achieve the fruits of the path.
You might be talking about the Vinaya rule for monks where lying of attainments entails Defeat (Pārājikā):
Should any bhikkhu, without direct knowledge, claim a superior human state, a truly noble knowledge and vision, as present in himself, saying, "Thus do I know; thus do I see," such that regardless of whether or not he is cross-examined on a later occasion, he — being remorseful and desirous of purification — might say, "Friends, not knowing, I said I know; not seeing, I said I see — vainly, falsely, idly," unless it was from over-estimation, he also is defeated and no longer in affiliation.http://www.accesstoinsight.org/tipitaka ... ti.html#pr