The DWP and HMRC have issued a warning ahead of a major state pension deadline next year.