Spanish Prime Minister Pedro Sánchez is considering resigning and is expected to make his decision known on Monday.