The leaders of Egypt, France and Jordan have warned Israel an offensive against Gaza's southern city of Rafah would have "dangerous consequences".