Choose the sentence below that is correctly punctuated:
I need to call my mother and ask if I can spend the night, Maya told her friend.
"I need to call my mother and ask her if I spend the night Maya told her friend."
"I need to call my mother and ask her if I can spend the night," Maya told her friend.
"I need to call my mother and ask if I can spend the night Maya told her friend.