Madrid- World Player of the Year Lionel Messi has been ruled out for up to three weeks by a thigh injury he suffered in Barcelona's 2-0 win over Almeria on Saturday.