Correct option is B
This is the proper passive transformation.
Active: Has anyone ever called you a fool?
Passive: Have you ever been called a fool before?
Let’s analyze the given options:
A. Has a fool been called to you ever before?
Awkward and incorrect structure.
B. Have you ever been called a fool before?
️ Correct passive voice transformation
C. Have anyone been called a fool ever before?
"Anyone" is singular, so it should be "has", not "have".
D. Has a fool ever been called you before?
The word order is incorrect and grammatically wrong.