It was the Commons, not the Lords. A newly elected MP referred to "the enemy" as those in the opposite, to which the more experienced MP answered that they were the opposition, not the enemy - your enemies are behind you. Unfortunately, I don't know who said it!
I think it was originally Churchill, but I'm not sure. It's one of those anecdotes that gets re-cycled and re-quoted by many generations of politicians, so whoever originally said it was probably copying someone else.