Smart answer:

Your search for Who said history does not repeat itself but it does rhyme returned the following results:

VOL 3 ISSUE 18 'Rhyme Time' Mark Twain, or somebody,

VOL 3 ISSUE 18 'Rhyme Time' Mark Twain, or somebody, said that history never repeats itself but history rhymes.

The historian Margaret MacMillan,

The historian Margaret MacMillan, alludes to these echoes from the past resurfacing in the present, referring to Mark Twain’s observation that: “History never repeats itself but History rhymes”.

Source:

Rogers

"Will Rogers once said, “History does not repeat itself, but History rhymes.”