Choose the correct indirect form of the given sentence.
"Don't go near the beach, Alan", the mother said.
AThe mother told Alan don't go near the beach.
BThe mother told Alan you don't go near the beach.
CThe mother told him not to go near the beach.
DThe mother told Alan not to go near the beach.