Men and Women texting while in a relationship

Is it okay for a female friend to text your spouse or boyfriend at 4am? Guess what she texted for.. Because he accidentally caused a cigarette burn I'm her car. Omg wow big emergency.