1 Kings 11:43

And Solomon slept with his fathers, and was buried in the city of David his father: and Rehoboam his son reigned in his stead.

Solomon's reign closed with his death and his burial in the city of David. His son Rehoboam succeeded him as king, and that accession took place before the tribes formally gathered at Shechem to recognize him as king. The rending and division of the kingdom was appointed to occur only after Solomon's reign had ended.