Sayyiduna Ibn Abbas (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) said: "Beware of leaving gaps between the rows in prayer."