そんな事を言うなんて

to say such a thing

→ そんな
phrase Rare #40,760
to say such a thing なんて adds a sense of surprise, disbelief, or disapproval; the phrase often means “that you would say such a thing.”
JA: そんな事を言うなんて信じられない。
EN: I can’t believe you’d say such a thing.

そんな事を言うなんて彼はどうかしてるに違いない。

He must be crazy to say something like that.

そんな事を言うなんて君は愚かだ。

You're foolish to say such a thing.

そんな事を言うなんて気が変になったに違いない。

You must have gone crazy to say such a thing.

そんな事を言うなんて彼女も思いやりがないね。

She’s inconsiderate to say something like that.