From そう (sō, “like that, so”) + 言(い)えば (ieba, conditional form of 言(い)う (iu, “to say”)). Literally, “speaking of that....”
そういえば • (sō ieba)