What is called when in a poem. A word is mispronounced so that it rhymes with another word.

This is called a slant rhyme or an eye rhyme.