Section 9 of the Scotland Act 1998 refers:
Constituency vacancies
(1) Where the seat of a constituency member is vacant, an election shall be held to fill the vacancy (subject to subsection (4)).
(2) The date of the poll shall be fixed by the Presiding Officer.
(3) The date shall fall within the period of three months—
(a) beginning with the occurrence of the vacancy, or (b)if the vacancy does not come to the notice of the Presiding Officer within the period of one month beginning with its occurrence, beginning when it does come to his notice.
(4) The election shall not be held if the latest...