She therefore sent the Prince a large and splendid ruby , with injunctions to wear it night and day as it would protect him from all attacks , but added that the talisman only retained its power as long as the Prince remained within his father 's dominions .