"Pick up a homological algebra book and prove all of the theorems yourself" (exercise from Lang's Algebra)
It's real, but only in the first and second editions. (I don't have any electronic proof, but I've seen it in my copy of the second edition and someone else's copy of the first edition.) It's the only exercise in the chapter.
The full quote in the second edition is:
Take any book on homological algebra, and prove all the theorems without looking at the proofs given in that book.
Homological algebra was invented by Eilenberg-MacLane. General category theory (i. e. the theory of arrow-theoretic results) is generally known as abstract nonsense (the terminology is due to Steenrod).
If I'm not mistaken, the quote is the same in the first edition. First edition: page 105; Second edition: page 175; so you can look in your library to see if I messed up the quote!
And I do have an electronic copy of the third edition, which I've searched to confirm it is not there. The historical remarks were expanded, written less dismissively and put at the intro to Part Four.
Update: I've scanned the evidence. First, Second.
In the Russian 1968 translation of Lang's Algebra (which is done from the Addison-Wesley 1965 edition), this exercise is there on page 126, exactly as quoted in Jonas' answer. It is complemented by two footnotes by the editor of the tranlation.
The footnotes say: "1) We suggest to skip these exercises on the first reading." and "2) It should be pointed out that the term `abstract nonsense' in this book has a positive character and is used below in the serious sense."
It is not an urban legend at all. It's certainly in the second edition, which is the one I studied from when I was a grad student. However it seems to be missing from the Springer 2002 edition. Certainly a loss, in my opinion.