In functions.php
function message_admin_notices() {
    echo '<div class="notice notice-error"><p>Message you want</p></div>';
}
add_action('admin_notices', 'message_admin_notices');